File size: 319 Bytes
adf36ef
 
 
 
 
 
 
 
 
 
 
 
 
c717ba7
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="0.0.0.0", port=7860)