Spaces:
Runtime error
Runtime error
update
Browse files
config.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# [step 1]>> 例如: API_KEY = "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" (此key无效)
|
2 |
-
API_KEY = "sk
|
3 |
|
4 |
# [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改
|
5 |
USE_PROXY = False
|
@@ -34,7 +34,7 @@ WEB_PORT = -1
|
|
34 |
MAX_RETRY = 2
|
35 |
|
36 |
# OpenAI模型选择是(gpt4现在只对申请成功的人开放)
|
37 |
-
LLM_MODEL = "
|
38 |
|
39 |
# OpenAI的API_URL
|
40 |
API_URL = "https://api.openai.com/v1/chat/completions"
|
|
|
1 |
# [step 1]>> 例如: API_KEY = "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" (此key无效)
|
2 |
+
API_KEY = "sk-此处填API密钥"
|
3 |
|
4 |
# [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改
|
5 |
USE_PROXY = False
|
|
|
34 |
MAX_RETRY = 2
|
35 |
|
36 |
# OpenAI模型选择是(gpt4现在只对申请成功的人开放)
|
37 |
+
LLM_MODEL = "gpt-3.5-turbo"
|
38 |
|
39 |
# OpenAI的API_URL
|
40 |
API_URL = "https://api.openai.com/v1/chat/completions"
|