1
0
Эх сурвалжийг харах

Merge pull request #12883 from Classic298/patch-1

fix: UVICORN_WORKERS __init__.py pass application as string
Tim Jaeryang Baek 5 сар өмнө
parent
commit
30e84adb51

+ 1 - 1
backend/open_webui/__init__.py

@@ -76,7 +76,7 @@ def serve(
     from open_webui.env import UVICORN_WORKERS  # Import the workers setting
     from open_webui.env import UVICORN_WORKERS  # Import the workers setting
 
 
     uvicorn.run(
     uvicorn.run(
-        open_webui.main.app,
+        "open_webui.main:app",
         host=host,
         host=host,
         port=port,
         port=port,
         forwarded_allow_ips="*",
         forwarded_allow_ips="*",