Spaces:
Runtime error
Runtime error
JohnSmith9982
commited on
Commit
•
9e6db3a
1
Parent(s):
183a375
Upload 39 files
Browse files- modules/config.py +1 -1
modules/config.py
CHANGED
@@ -33,7 +33,7 @@ else:
|
|
33 |
config = {}
|
34 |
|
35 |
lang_config = config.get("language", "auto")
|
36 |
-
language = os.environ.get("
|
37 |
|
38 |
if os.path.exists("api_key.txt"):
|
39 |
logging.info("检测到api_key.txt文件,正在进行迁移...")
|
|
|
33 |
config = {}
|
34 |
|
35 |
lang_config = config.get("language", "auto")
|
36 |
+
language = os.environ.get("LANGUAGE", lang_config)
|
37 |
|
38 |
if os.path.exists("api_key.txt"):
|
39 |
logging.info("检测到api_key.txt文件,正在进行迁移...")
|