ソースを参照

Merge pull request #12883 from Classic298/patch-1

fix: UVICORN_WORKERS __init__.py pass application as string
Tim Jaeryang Baek 6 ヶ月 前
コミット
30e84adb51
1 ファイル変更1 行追加1 行削除
  1. 1 1
      backend/open_webui/__init__.py

+ 1 - 1
backend/open_webui/__init__.py

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