run by uvicorn

parent cd90b733
...@@ -177,11 +177,3 @@ def create_app() -> FastAPI: ...@@ -177,11 +177,3 @@ def create_app() -> FastAPI:
# Application entry point # Application entry point
app = create_app() app = create_app()
if __name__ == "__main__":
try:
uvicorn.run(app, host="0.0.0.0", port=8000)
except Exception as e:
print(f"Application failed to start: {e}", flush=True)
import sys
sys.exit(1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment