From 591aac5e16ca9ce8fbd3d26d068854580967a6a2 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 24 Dec 2024 22:44:21 -0700 Subject: [PATCH] chore: format --- backend/open_webui/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/__init__.py b/backend/open_webui/__init__.py index cb019655a..ab7e4dd30 100644 --- a/backend/open_webui/__init__.py +++ b/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()