krinlove commited on
Commit
3a044a7
·
verified ·
1 Parent(s): dc40891

Update backend/main.py

Browse files
Files changed (1) hide show
  1. backend/main.py +2 -2
backend/main.py CHANGED
@@ -1698,9 +1698,9 @@ async def update_pipeline_valves(
1698
  async def get_app_config():
1699
  # Checking and Handling the Absence of 'ui' in CONFIG_DATA
1700
 
1701
- default_locale = "en-US"
1702
  if "ui" in CONFIG_DATA:
1703
- default_locale = CONFIG_DATA["ui"].get("default_locale", "en-US")
1704
 
1705
  # The Rest of the Function Now Uses the Variables Defined Above
1706
  return {
 
1698
  async def get_app_config():
1699
  # Checking and Handling the Absence of 'ui' in CONFIG_DATA
1700
 
1701
+ default_locale = "zh-CN"
1702
  if "ui" in CONFIG_DATA:
1703
+ default_locale = CONFIG_DATA["ui"].get("default_locale", "zh-CN")
1704
 
1705
  # The Rest of the Function Now Uses the Variables Defined Above
1706
  return {