Update app.py
Browse files
app.py
CHANGED
@@ -658,8 +658,8 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
658 |
)
|
659 |
with gr.Column(min_width=70, scale=1):
|
660 |
submitBtn2 = gr.Button("Senden")
|
661 |
-
with gr.Column(min_width=70, scale=1):
|
662 |
-
cancelBtn2 = gr.Button("Stop")
|
663 |
with gr.Row():
|
664 |
emptyBtn2 = gr.ClearButton([user_input, chatbot_bild], value="🧹 Neue Session", scale=10)
|
665 |
#additional_inputs_accordion = gr.Accordion(label="Weitere Eingaben...", open=False)
|
@@ -731,9 +731,9 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
731 |
predict_event2_2 = submitBtn2.click(**transfer_input_args2, queue=False,).then(**predict_args2)
|
732 |
#emptyBtn2.click(clear_all, [], [file_display, image_display])
|
733 |
|
734 |
-
cancelBtn2.click(
|
735 |
-
cancels=[predict_event2_1,predict_event2_2 ]
|
736 |
-
)
|
737 |
|
738 |
|
739 |
demo.title = "LI-ChatBot"
|
|
|
658 |
)
|
659 |
with gr.Column(min_width=70, scale=1):
|
660 |
submitBtn2 = gr.Button("Senden")
|
661 |
+
#with gr.Column(min_width=70, scale=1):
|
662 |
+
#cancelBtn2 = gr.Button("Stop")
|
663 |
with gr.Row():
|
664 |
emptyBtn2 = gr.ClearButton([user_input, chatbot_bild], value="🧹 Neue Session", scale=10)
|
665 |
#additional_inputs_accordion = gr.Accordion(label="Weitere Eingaben...", open=False)
|
|
|
731 |
predict_event2_2 = submitBtn2.click(**transfer_input_args2, queue=False,).then(**predict_args2)
|
732 |
#emptyBtn2.click(clear_all, [], [file_display, image_display])
|
733 |
|
734 |
+
#cancelBtn2.click(
|
735 |
+
#cancels=[predict_event2_1,predict_event2_2 ]
|
736 |
+
#)
|
737 |
|
738 |
|
739 |
demo.title = "LI-ChatBot"
|