Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ with gr.Blocks() as demo:
|
|
215 |
submit_button.click(
|
216 |
fn=generate_response,
|
217 |
inputs=[question_textbox, chatbot],
|
218 |
-
outputs=[chatbot
|
219 |
queue=True
|
220 |
)
|
221 |
|
|
|
215 |
submit_button.click(
|
216 |
fn=generate_response,
|
217 |
inputs=[question_textbox, chatbot],
|
218 |
+
outputs=[chatbot], # Output the updated history to the chatbot
|
219 |
queue=True
|
220 |
)
|
221 |
|