Browse Source

fix: pip install not working

Timothy Jaeryang Baek 4 months ago
parent
commit
d7d08b40ed
1 changed files with 1 additions and 9 deletions
  1. 1 9
      backend/open_webui/__init__.py

+ 1 - 9
backend/open_webui/__init__.py

@@ -6,8 +6,6 @@ from pathlib import Path
 import typer
 import uvicorn
 
-from open_webui.env import GLOBAL_LOG_LEVEL
-
 app = typer.Typer()
 
 KEY_FILE = Path.cwd() / ".webui_secret_key"
@@ -57,13 +55,7 @@ def serve(
 
     import open_webui.main  # we need set environment variables before importing main
 
-    uvicorn.run(
-        open_webui.main.app,
-        host=host,
-        port=port,
-        forwarded_allow_ips="*",
-        log_level=GLOBAL_LOG_LEVEL.lower(),
-    )
+    uvicorn.run(open_webui.main.app, host=host, port=port, forwarded_allow_ips="*")
 
 
 @app.command()