Spaces:
Running
Running
Update bin_public/app/Chatbot.py
Browse files
bin_public/app/Chatbot.py
CHANGED
@@ -109,7 +109,6 @@ with gr.Blocks(css=customCSS) as demo:
|
|
109 |
use_streaming_checkbox = gr.Checkbox(label="实时传输回答", value=True, visible=enable_streaming_option)
|
110 |
use_websearch_checkbox = gr.Checkbox(label="使用在线搜索", value=False)
|
111 |
index_files = gr.Files(label="上传索引文件", type="file", multiple=True)
|
112 |
-
index_pinecone = gr.Textbox(placeholder=f"Index fetched", visible=True)
|
113 |
|
114 |
with gr.Tab(label="Prompt"):
|
115 |
systemPromptTxt = gr.Textbox(show_label=True, placeholder=f"在这里输入System Prompt...",
|
@@ -173,6 +172,7 @@ with gr.Blocks(css=customCSS) as demo:
|
|
173 |
with gr.Row():
|
174 |
interviewer = gr.Button("面试官")
|
175 |
migraine = gr.Button("医生问诊")
|
|
|
176 |
|
177 |
with gr.Tab(label="Davinci-003"):
|
178 |
with gr.Column():
|
|
|
109 |
use_streaming_checkbox = gr.Checkbox(label="实时传输回答", value=True, visible=enable_streaming_option)
|
110 |
use_websearch_checkbox = gr.Checkbox(label="使用在线搜索", value=False)
|
111 |
index_files = gr.Files(label="上传索引文件", type="file", multiple=True)
|
|
|
112 |
|
113 |
with gr.Tab(label="Prompt"):
|
114 |
systemPromptTxt = gr.Textbox(show_label=True, placeholder=f"在这里输入System Prompt...",
|
|
|
172 |
with gr.Row():
|
173 |
interviewer = gr.Button("面试官")
|
174 |
migraine = gr.Button("医生问诊")
|
175 |
+
index_pinecone = gr.Textbox(placeholder=f"Index fetched", visible=True)
|
176 |
|
177 |
with gr.Tab(label="Davinci-003"):
|
178 |
with gr.Column():
|