mirror of
https://github.com/Sosokker/HomieCare.git
synced 2025-12-18 17:54:04 +01:00
Add prediction router
This commit is contained in:
parent
bacf631ad6
commit
242e4b737f
@ -1,7 +1,7 @@
|
||||
import uvicorn
|
||||
|
||||
from fastapi import FastAPI
|
||||
from routers import video, weather
|
||||
from routers import video, weather, prediction
|
||||
|
||||
|
||||
app = FastAPI(
|
||||
@ -16,6 +16,7 @@ app = FastAPI(
|
||||
|
||||
app.include_router(video.router, prefix="/camera")
|
||||
app.include_router(weather.router, prefix="/weather")
|
||||
app.include_router(prediction.router, prefix="/weather")
|
||||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user