Spaces:
Sleeping
Sleeping
File size: 237 Bytes
822338a aca9b7c dec29b0 822338a dec29b0 822338a aca9b7c |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from fastapi import FastAPI
from routers.distilbert import prediction
# Create a new FastAPI app instance
app = FastAPI()
app.include_router(prediction)
@app.get("/")
def greet_json():
return {"detail": "AI Challenge FastAPI"}
|