mdadul
Fix import issues and update structure
85d35cd
raw
history blame contribute delete
280 Bytes
from fastapi import FastAPI
from api.v1.endpoints import predict
from app.core.config import settings
app = FastAPI(title=settings.PROJECT_NAME, version=settings.PROJECT_VERSION)
# Include router for the prediction endpoint
app.include_router(predict.router, prefix="/api/v1")