Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -104,6 +104,9 @@ with gr.Blocks() as demo:
|
|
104 |
with gr.Row():
|
105 |
btn_check = gr.Button("Проверить", elem_id="check3")
|
106 |
btn_check.click(fn=change_tab, inputs=[gr.Number(value=3, visible=False)], outputs=tabs)
|
|
|
|
|
|
|
107 |
|
108 |
# Вкладка 4: Проверка
|
109 |
with gr.TabItem("Проверка", id=3):
|
|
|
104 |
with gr.Row():
|
105 |
btn_check = gr.Button("Проверить", elem_id="check3")
|
106 |
btn_check.click(fn=change_tab, inputs=[gr.Number(value=3, visible=False)], outputs=tabs)
|
107 |
+
btn_check.click(fn=[get_random_gauge_1, get_random_gauge_2, get_random_gauge_3],
|
108 |
+
inputs=[],
|
109 |
+
outputs=[success_forecast_1, success_forecast_2, success_forecast_3])
|
110 |
|
111 |
# Вкладка 4: Проверка
|
112 |
with gr.TabItem("Проверка", id=3):
|