Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -280,12 +280,12 @@ def main():
|
|
| 280 |
examples_per_page=3,
|
| 281 |
)
|
| 282 |
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
|
| 287 |
-
user_txt.submit(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot
|
| 288 |
-
submit_btn.click(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot
|
| 289 |
clear_btn.click(lambda: None, None, chatbot, queue=False)
|
| 290 |
|
| 291 |
demo.launch()
|
|
|
|
| 280 |
examples_per_page=3,
|
| 281 |
)
|
| 282 |
|
| 283 |
+
# with gr.Column(scale=3):
|
| 284 |
+
# with gr.Tab("References"):
|
| 285 |
+
# doc_citation = gr.HTML("<p>References used in answering the question will be displayed below.</p>")
|
| 286 |
|
| 287 |
+
user_txt.submit(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot])
|
| 288 |
+
submit_btn.click(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot])
|
| 289 |
clear_btn.click(lambda: None, None, chatbot, queue=False)
|
| 290 |
|
| 291 |
demo.launch()
|