Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 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(
|