amitagh commited on
Commit
5c37cb9
·
verified ·
1 Parent(s): 9328989

get_cust_rsp

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(handle_user_ques, [chatbot, txt], [chatbot, txt])
102
- btn.click(handle_user_ques, [chatbot, txt], [chatbot, txt])
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]