Spaces:
Build error
Build error
File size: 321 Bytes
adf36ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import uvicorn
from fastapi import FastAPI
from app.modules import modules_router
app = FastAPI()
app.include_router(modules_router)
@app.get("/")
async def index():
return {"message": "Simple Question API Services"}
if __name__ == "__main__":
uvicorn.run("main:app", reload=True, host="127.0.0.1", port=8000) |