2579c7e 03dd223 2579c7e 03dd223
1
2
3
4
5
6
7
8
9
10
11
from fastapi import FastAPI import uvicorn app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World!"} if __name__ == "__main__": uvicorn.run(app, host="0.0.0.0", port=8000)