starsaround
commited on
Commit
•
f1dab46
1
Parent(s):
9b3e301
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ with gr.Blocks() as demo:
|
|
186 |
memory = ConversationBufferWindowMemory(k=6, memory_key="chat_history")
|
187 |
with gr.Row():
|
188 |
model_name = gr.Dropdown(list(available_dict.keys()), value='gpt-3.5-turbo', label='模型')
|
189 |
-
provider = gr.Dropdown(available_dict['gpt-3.5-turbo'], value='
|
190 |
agent = gr.Dropdown(['系统提示', '维基百科'], value='系统提示', label='Agent')
|
191 |
system_msg = gr.Textbox(value="你是一名助手,可以解答问题。", label='系统提示')
|
192 |
|
|
|
186 |
memory = ConversationBufferWindowMemory(k=6, memory_key="chat_history")
|
187 |
with gr.Row():
|
188 |
model_name = gr.Dropdown(list(available_dict.keys()), value='gpt-3.5-turbo', label='模型')
|
189 |
+
provider = gr.Dropdown(available_dict['gpt-3.5-turbo'], value=available_dict['gpt-3.5-turbo'][0], label='提供者', min_width=20)
|
190 |
agent = gr.Dropdown(['系统提示', '维基百科'], value='系统提示', label='Agent')
|
191 |
system_msg = gr.Textbox(value="你是一名助手,可以解答问题。", label='系统提示')
|
192 |
|