Spaces:
Build error
Build error
Commit
•
16e2d15
1
Parent(s):
68ff366
Update config.py
Browse files
config.py
CHANGED
@@ -93,7 +93,7 @@ DEFAULT_FN_GROUPS = ['对话', '编程', '学术', '智能体']
|
|
93 |
|
94 |
|
95 |
# 模型选择是 (注意: LLM_MODEL是默认选中的模型, 它*必须*被包含在AVAIL_LLM_MODELS列表中 )
|
96 |
-
LLM_MODEL = "
|
97 |
AVAIL_LLM_MODELS = ["gpt-4-1106-preview", "gpt-4-turbo-preview", "gpt-4-vision-preview",
|
98 |
"gpt-3.5-turbo-1106", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "azure-gpt-3.5",
|
99 |
"gpt-4", "gpt-4-32k", "azure-gpt-4", "glm-4", "glm-3-turbo",
|
@@ -225,7 +225,7 @@ CUSTOM_API_KEY_PATTERN = ""
|
|
225 |
|
226 |
|
227 |
# Google Gemini API-Key
|
228 |
-
GEMINI_API_KEY = ''
|
229 |
|
230 |
|
231 |
# HUGGINGFACE的TOKEN,下载LLAMA时起作用 https://huggingface.co/docs/hub/security-tokens
|
|
|
93 |
|
94 |
|
95 |
# 模型选择是 (注意: LLM_MODEL是默认选中的模型, 它*必须*被包含在AVAIL_LLM_MODELS列表中 )
|
96 |
+
LLM_MODEL = "gemini-pro" # 可选 ↓↓↓
|
97 |
AVAIL_LLM_MODELS = ["gpt-4-1106-preview", "gpt-4-turbo-preview", "gpt-4-vision-preview",
|
98 |
"gpt-3.5-turbo-1106", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "azure-gpt-3.5",
|
99 |
"gpt-4", "gpt-4-32k", "azure-gpt-4", "glm-4", "glm-3-turbo",
|
|
|
225 |
|
226 |
|
227 |
# Google Gemini API-Key
|
228 |
+
GEMINI_API_KEY = 'AIzaSyBQg3zqIFlSa2cQJdCygbmQDD8__6oL6Qs'
|
229 |
|
230 |
|
231 |
# HUGGINGFACE的TOKEN,下载LLAMA时起作用 https://huggingface.co/docs/hub/security-tokens
|