This commit is contained in:
Timothy J. Baek
2024-05-26 13:02:40 -07:00
parent 78dedb3389
commit 0c04b18f36
6 changed files with 9 additions and 12 deletions

View File

@@ -361,10 +361,10 @@ async def get_app_config():
"default_locale": default_locale,
"default_models": webui_app.state.config.DEFAULT_MODELS,
"default_prompt_suggestions": webui_app.state.config.DEFAULT_PROMPT_SUGGESTIONS,
"feature_flags": {
"features": {
"auth": WEBUI_AUTH,
"enable_signup": webui_app.state.config.ENABLE_SIGNUP,
"auth_trusted_header": bool(webui_app.state.AUTH_TRUSTED_EMAIL_HEADER),
"enable_signup": webui_app.state.config.ENABLE_SIGNUP,
"enable_image_generation": images_app.state.config.ENABLED,
"enable_admin_export": ENABLE_ADMIN_EXPORT,
"enable_community_sharing": webui_app.state.config.ENABLE_COMMUNITY_SHARING,