Spaces:
Runtime error
Runtime error
set default value for stir state radio button and add reminder for experiment name change
Browse files
app.py
CHANGED
|
@@ -851,7 +851,7 @@ with gr.Blocks() as demo:
|
|
| 851 |
rpm_input = gr.Slider(minimum=0, maximum=2000, step=50, label="RPM")
|
| 852 |
|
| 853 |
with gr.Row():
|
| 854 |
-
stir_state = gr.Radio(choices=["start", "stop", "update"], label="State")
|
| 855 |
|
| 856 |
st = gr.Button("Send Command")
|
| 857 |
|
|
@@ -1013,6 +1013,7 @@ with gr.Blocks() as demo:
|
|
| 1013 |
|
| 1014 |
|
| 1015 |
with gr.Tab("Custom"):
|
|
|
|
| 1016 |
# Input components
|
| 1017 |
with gr.Row():
|
| 1018 |
host_input = gr.Textbox(label="Host")
|
|
|
|
| 851 |
rpm_input = gr.Slider(minimum=0, maximum=2000, step=50, label="RPM")
|
| 852 |
|
| 853 |
with gr.Row():
|
| 854 |
+
stir_state = gr.Radio(choices=["start", "stop", "update"], label="State", value="start")
|
| 855 |
|
| 856 |
st = gr.Button("Send Command")
|
| 857 |
|
|
|
|
| 1013 |
|
| 1014 |
|
| 1015 |
with gr.Tab("Custom"):
|
| 1016 |
+
gr.Markdown("Remember to change the experiment name when changing experiments.")
|
| 1017 |
# Input components
|
| 1018 |
with gr.Row():
|
| 1019 |
host_input = gr.Textbox(label="Host")
|