Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -557,7 +557,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 557 |
submit_btn = gr.Button("Submit")
|
| 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():
|
|
|
|
| 557 |
submit_btn = gr.Button("Submit")
|
| 558 |
|
| 559 |
# Events
|
| 560 |
+
submit_btn.click(fn=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():
|