Add prediction router

This commit is contained in:
sosokker 2024-05-11 02:18:02 +07:00
parent bacf631ad6
commit 242e4b737f

View File

@ -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():