Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ with gr.Blocks() as demo:
|
|
| 59 |
# submit_btn.click(text_extract, inputs=[input_file], outputs=[user_input])
|
| 60 |
|
| 61 |
# Connect send button to chatbot_response function
|
| 62 |
-
send_btn.click(chatbot_response, inputs=[user_input], outputs=[chatbot
|
| 63 |
|
| 64 |
# Initialize embeddings and launch the app
|
| 65 |
if __name__ == "__main__":
|
|
|
|
| 59 |
# submit_btn.click(text_extract, inputs=[input_file], outputs=[user_input])
|
| 60 |
|
| 61 |
# Connect send button to chatbot_response function
|
| 62 |
+
send_btn.click(chatbot_response, inputs=[user_input], outputs=[chatbot])
|
| 63 |
|
| 64 |
# Initialize embeddings and launch the app
|
| 65 |
if __name__ == "__main__":
|