Spaces:
Build error
Build error
bingbing520
commited on
Commit
·
c45f1e6
1
Parent(s):
6f1e89f
Update modules/config.py
Browse files- modules/config.py +1 -1
modules/config.py
CHANGED
@@ -65,7 +65,7 @@ if os.environ.get("dockerrun") == "yes":
|
|
65 |
dockerflag = True
|
66 |
|
67 |
## 处理 api-key 以及 允许的用户列表
|
68 |
-
my_api_key = config.get("openai_api_key", "sk-
|
69 |
my_api_key = os.environ.get("OPENAI_API_KEY", my_api_key)
|
70 |
|
71 |
xmchat_api_key = config.get("xmchat_api_key", "")
|
|
|
65 |
dockerflag = True
|
66 |
|
67 |
## 处理 api-key 以及 允许的用户列表
|
68 |
+
my_api_key = config.get("openai_api_key", "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")
|
69 |
my_api_key = os.environ.get("OPENAI_API_KEY", my_api_key)
|
70 |
|
71 |
xmchat_api_key = config.get("xmchat_api_key", "")
|