From d28b6a4ae87918eb86fb414f3e50152b93f5a56e Mon Sep 17 00:00:00 2001 From: mraniki Date: Fri, 14 Apr 2023 23:26:20 +0200 Subject: [PATCH] fix: example --- examples/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example.py b/examples/example.py index 9d682268..8f9aa8c7 100644 --- a/examples/example.py +++ b/examples/example.py @@ -105,5 +105,5 @@ def health_check(): if __name__ == "__main__": HOST=os.getenv("HOST", "0.0.0.0") PORT=os.getenv("PORT", "8080") - uvicorn.run("example:app", host=HOST, port=PORT, reload=True) + uvicorn.run(app, host=HOST, port=PORT, reload=True)