浏览代码

chore: format

Timothy Jaeryang Baek 4 月之前
父节点
当前提交
591aac5e16
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      backend/open_webui/__init__.py

+ 8 - 2
backend/open_webui/__init__.py

@@ -6,7 +6,7 @@ from pathlib import Path
 import typer
 import uvicorn
 
-from open_webui.env import (GLOBAL_LOG_LEVEL)
+from open_webui.env import GLOBAL_LOG_LEVEL
 
 app = typer.Typer()
 
@@ -57,7 +57,13 @@ 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="*",
+        log_level=GLOBAL_LOG_LEVEL.lower(),
+    )
 
 
 @app.command()