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)