fix: default locale

This commit is contained in:
Timothy J. Baek
2024-06-30 14:48:05 -07:00
parent f6efda9e2f
commit d9a229b1ec
3 changed files with 17 additions and 9 deletions
+7
View File
@@ -674,6 +674,13 @@ ENABLE_SIGNUP = PersistentConfig(
else os.environ.get("ENABLE_SIGNUP", "True").lower() == "true"
),
)
DEFAULT_LOCALE = PersistentConfig(
"DEFAULT_LOCALE",
"ui.default_locale",
os.environ.get("DEFAULT_LOCALE", ""),
)
DEFAULT_MODELS = PersistentConfig(
"DEFAULT_MODELS", "ui.default_models", os.environ.get("DEFAULT_MODELS", None)
)