Spaces:
Runtime error
Runtime error
Update bin_public/app/Chatbot.py
Browse files
bin_public/app/Chatbot.py
CHANGED
|
@@ -310,11 +310,9 @@ with gr.Blocks(css=customCSS) as demo:
|
|
| 310 |
model_select_dropdown,
|
| 311 |
use_websearch_checkbox,
|
| 312 |
index_files],
|
| 313 |
-
[chatbot, history, status_display, token_count], show_progress=True)
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
[patient_prompt],
|
| 317 |
-
[systemPromptTxt])
|
| 318 |
|
| 319 |
migraine.click(context_construction,[
|
| 320 |
keyTxt,
|
|
|
|
| 310 |
model_select_dropdown,
|
| 311 |
use_websearch_checkbox,
|
| 312 |
index_files],
|
| 313 |
+
[chatbot, history, status_display, token_count], show_progress=True).then(prompt_construction,
|
| 314 |
+
[chatbot],
|
| 315 |
+
[systemPromptTxt])
|
|
|
|
|
|
|
| 316 |
|
| 317 |
migraine.click(context_construction,[
|
| 318 |
keyTxt,
|