get_cust_rsp
Browse files
app.py
CHANGED
|
@@ -98,8 +98,8 @@ with gr.Blocks() as bc_chatbot:
|
|
| 98 |
|
| 99 |
#txt.submit(handle_customer_response, [chatbot, txt], [chatbot, txt, output_audio])
|
| 100 |
#btn.click(handle_customer_response, [chatbot, txt], [chatbot, txt, output_audio])
|
| 101 |
-
txt.submit(
|
| 102 |
-
btn.click(
|
| 103 |
clear_btn.click(
|
| 104 |
clear_chat,
|
| 105 |
[chatbot, txt], [chatbot, txt]
|
|
|
|
| 98 |
|
| 99 |
#txt.submit(handle_customer_response, [chatbot, txt], [chatbot, txt, output_audio])
|
| 100 |
#btn.click(handle_customer_response, [chatbot, txt], [chatbot, txt, output_audio])
|
| 101 |
+
txt.submit(get_cust_rsp, [chatbot, txt], [chatbot, txt])
|
| 102 |
+
btn.click(get_cust_rsp, [chatbot, txt], [chatbot, txt])
|
| 103 |
clear_btn.click(
|
| 104 |
clear_chat,
|
| 105 |
[chatbot, txt], [chatbot, txt]
|