Spaces:
Runtime error
Runtime error
Update response function
Browse files
app.py
CHANGED
@@ -163,7 +163,6 @@ with gr.Blocks(css=css) as demo:
|
|
163 |
get_chat_response, [chatbot, task_history], [chatbot, task_history], show_progress=True
|
164 |
)
|
165 |
|
166 |
-
|
167 |
submit_btn.click(clear_input, [], [query])
|
168 |
clear_btn.click(clear_history, [task_history], [chatbot], show_progress=True)
|
169 |
regen_btn.click(handle_regeneration, [chatbot, task_history], [chatbot], show_progress=True)
|
|
|
163 |
get_chat_response, [chatbot, task_history], [chatbot, task_history], show_progress=True
|
164 |
)
|
165 |
|
|
|
166 |
submit_btn.click(clear_input, [], [query])
|
167 |
clear_btn.click(clear_history, [task_history], [chatbot], show_progress=True)
|
168 |
regen_btn.click(handle_regeneration, [chatbot, task_history], [chatbot], show_progress=True)
|