Spaces:
Sleeping
Sleeping
| from fastapi import FastAPI, Depends | |
| from app.routes import prediction | |
| from app.models.prediction_models import PredictionRequest, PredictionResponse | |
| app = FastAPI() | |
| # Include three routers | |
| app.include_router( | |
| prediction.router, | |
| prefix="/predict", | |
| tags=["prediction"], | |
| ) | |