Timothy J. Baek 8 months ago
parent
commit
8a411decac
1 changed files with 3 additions and 1 deletions
  1. 3 1
      backend/open_webui/env.py

+ 3 - 1
backend/open_webui/env.py

@@ -97,7 +97,9 @@ except importlib.metadata.PackageNotFoundError:
 
 
 PIP_INSTALL = (
-    os.environ.get("PIP_INSTALL") if os.environ.get("PIP_INSTALL") else PIP_INSTALL
+    os.environ.get("PIP_INSTALL", "False").lower() == "true"
+    if os.environ.get("PIP_INSTALL")
+    else PIP_INSTALL
 )
 
 if PIP_INSTALL: