emb-rep / FastAPI /app /main.py
abadesalex's picture
reestructre
54bac2e
raw
history blame
181 Bytes
import uvicorn
if __name__ == "__main__":
# This line tells uvicorn to run the app defined in app/api.py
uvicorn.run("app.api:app", host="0.0.0.0", port=8000, reload=True)