manabb commited on
Commit
a03e137
·
verified ·
1 Parent(s): 7391112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -558,7 +558,7 @@ with gr.Blocks(css=css) as demo:
558
 
559
  # Events
560
  submit_btn.click(respond, inputs=[msg, chatbot, doc_selector], outputs=[msg, chatbot], api_name="manabChat")
561
- msg.submit(respond, inputs=[msg, chatbot, doc_selector], outputs=[msg, chatbot], api_name="manabChat")
562
  with gr.TabItem("Compliance Check of user technical doc"):
563
  with gr.Row():
564
  inp_tech = gr.File(
 
558
 
559
  # Events
560
  submit_btn.click(respond, inputs=[msg, chatbot, doc_selector], outputs=[msg, chatbot], api_name="manabChat")
561
+ msg.submit(respond, inputs=[msg, chatbot, doc_selector], outputs=[msg, chatbot], api_name="manabSubmitChat")
562
  with gr.TabItem("Compliance Check of user technical doc"):
563
  with gr.Row():
564
  inp_tech = gr.File(