import uvicorn from fastapi import FastAPI app = FastAPI() @app.get("/") def home(): return {"Hello": "World"} if __name__ == "__main__": uvicorn.run("hello_world_fastapi:app")