hazm_docker/app/main.py

16 lines
273 B
Python

import uvicorn
from fastapi import FastAPI
import hazm_api
app = FastAPI()
app.include_router(hazm_api.router, prefix="/hazm")
@app.get("/")
async def read_root():
return "Hazm is OK!"
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=5110)