Spaces:
Runtime error
Runtime error
| from fastapi import FastAPI | |
| from app.routes import prediction | |
| from app.routes import home | |
| app = FastAPI() | |
| app.include_router( | |
| home.router, | |
| tags=["home"], | |
| ) | |
| app.include_router( | |
| prediction.router, | |
| prefix="/predict", | |
| tags=["prediction"], | |
| ) | |