conflict
Browse files
app.py
CHANGED
@@ -620,7 +620,7 @@ with gr.Blocks() as demo:
|
|
620 |
|
621 |
with gr.Blocks():
|
622 |
gr.Markdown("# Status")
|
623 |
-
|
624 |
|
625 |
with gr.Row():
|
626 |
experiment_output = gr.Textbox(label="Experiment", interactive=False)
|
@@ -631,7 +631,7 @@ with gr.Blocks() as demo:
|
|
631 |
led_output = gr.Textbox(label="LEDs", interactive=False)
|
632 |
experiments_output = gr.Textbox(label="Experiments", interactive=False)
|
633 |
|
634 |
-
|
635 |
fn=get_status_default,
|
636 |
inputs=[experiment_input],
|
637 |
outputs=[experiment_output, running_output, temp_output, rpm_output, led_output, experiments_output]
|
|
|
620 |
|
621 |
with gr.Blocks():
|
622 |
gr.Markdown("# Status")
|
623 |
+
get_status_a = gr.Button("Get Status")
|
624 |
|
625 |
with gr.Row():
|
626 |
experiment_output = gr.Textbox(label="Experiment", interactive=False)
|
|
|
631 |
led_output = gr.Textbox(label="LEDs", interactive=False)
|
632 |
experiments_output = gr.Textbox(label="Experiments", interactive=False)
|
633 |
|
634 |
+
get_status_a.click(
|
635 |
fn=get_status_default,
|
636 |
inputs=[experiment_input],
|
637 |
outputs=[experiment_output, running_output, temp_output, rpm_output, led_output, experiments_output]
|