Update app.py
Browse files
app.py
CHANGED
@@ -646,8 +646,8 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
|
|
646 |
# Button Events....
|
647 |
#Validation Button
|
648 |
# Event-Handler für die Validierung
|
649 |
-
|
650 |
-
|
651 |
#############################################
|
652 |
#1ter Tab
|
653 |
predict_event1 = user_input.submit(**transfer_input_args, queue=False,).then(**predict_args)
|
|
|
646 |
# Button Events....
|
647 |
#Validation Button
|
648 |
# Event-Handler für die Validierung
|
649 |
+
validate_btn.click(validate_input, inputs=[user_input_validate, validate], outputs=[status_display, validate, user_input_validate, validate_btn])
|
650 |
+
user_input_validate.submit(validate_input, inputs=[user_input_validate, validate], outputs=[status_display, validate, user_input_validate, validate_btn])
|
651 |
#############################################
|
652 |
#1ter Tab
|
653 |
predict_event1 = user_input.submit(**transfer_input_args, queue=False,).then(**predict_args)
|