Update app.py
Browse files
app.py
CHANGED
|
@@ -722,7 +722,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 722 |
outputs=[chatbot_bild, status_display2], #[chatbot, history, status_display]
|
| 723 |
show_progress=True,
|
| 724 |
)
|
| 725 |
-
|
| 726 |
fn=add_text2, inputs=[chatbot_bild, user_input2], outputs=[chatbot_bild, user_question2, user_input2], show_progress=True
|
| 727 |
)
|
| 728 |
predict_event2_1 = user_input.submit(**transfer_input_args2, queue=False,).then(**predict_args2)
|
|
|
|
| 722 |
outputs=[chatbot_bild, status_display2], #[chatbot, history, status_display]
|
| 723 |
show_progress=True,
|
| 724 |
)
|
| 725 |
+
transfer_input_args2 = dict(
|
| 726 |
fn=add_text2, inputs=[chatbot_bild, user_input2], outputs=[chatbot_bild, user_question2, user_input2], show_progress=True
|
| 727 |
)
|
| 728 |
predict_event2_1 = user_input.submit(**transfer_input_args2, queue=False,).then(**predict_args2)
|