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