app.py
CHANGED
@@ -646,7 +646,7 @@ def get_status_default(exp):
|
|
646 |
|
647 |
client.unsubscribe(f"pioreactor/{PIOREACTOR}/worker")
|
648 |
|
649 |
-
return experiment, running, temp_mqtt_auto, rpm_mqtt, led_mqtt, experiments
|
650 |
|
651 |
|
652 |
def new_experiment_default(new_exp, exp):
|
@@ -914,10 +914,8 @@ with gr.Blocks() as demo:
|
|
914 |
get_status_a.click(
|
915 |
fn=get_status_default,
|
916 |
inputs=[experiment_input],
|
917 |
-
outputs=[experiment_output, running_output, temp_output, rpm_output, led_output, experiments_output]
|
918 |
)
|
919 |
-
|
920 |
-
experiment_output.change(fn=update_text, inputs=experiment_input)
|
921 |
|
922 |
with gr.Blocks():
|
923 |
gr.Markdown("# Experiments")
|
|
|
646 |
|
647 |
client.unsubscribe(f"pioreactor/{PIOREACTOR}/worker")
|
648 |
|
649 |
+
return experiment, experiment, running, temp_mqtt_auto, rpm_mqtt, led_mqtt, experiments
|
650 |
|
651 |
|
652 |
def new_experiment_default(new_exp, exp):
|
|
|
914 |
get_status_a.click(
|
915 |
fn=get_status_default,
|
916 |
inputs=[experiment_input],
|
917 |
+
outputs=[experiment_input, experiment_output, running_output, temp_output, rpm_output, led_output, experiments_output]
|
918 |
)
|
|
|
|
|
919 |
|
920 |
with gr.Blocks():
|
921 |
gr.Markdown("# Experiments")
|