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
commit 9caf6c26ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)