Merge pull request #998 from chamburr/patch-1

Fix enable signup env
This commit is contained in:
Timothy Jaeryang Baek
2024-03-02 02:58:41 -05:00
committed by GitHub

View File

@@ -226,7 +226,7 @@ if OPENAI_API_BASE_URL == "":
# 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)