Unverified Commit a12b5ffa authored by Han Cen's avatar Han Cen Committed by GitHub
Browse files

Fix enable signup env

parent 6c70d0f7
...@@ -226,7 +226,7 @@ if OPENAI_API_BASE_URL == "": ...@@ -226,7 +226,7 @@ if OPENAI_API_BASE_URL == "":
# WEBUI # WEBUI
#################################### ####################################
ENABLE_SIGNUP = os.environ.get("ENABLE_SIGNUP", True) ENABLE_SIGNUP = os.environ.get("ENABLE_SIGNUP", "True").lower() == "true"
DEFAULT_MODELS = os.environ.get("DEFAULT_MODELS", None) DEFAULT_MODELS = os.environ.get("DEFAULT_MODELS", None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment