naming
Browse files
app.py
CHANGED
@@ -843,30 +843,30 @@ with gr.Blocks() as demo:
|
|
843 |
gr.Markdown("# Experiments")
|
844 |
|
845 |
with gr.Row():
|
846 |
-
|
847 |
-
|
848 |
|
849 |
with gr.Row():
|
850 |
-
|
851 |
-
|
852 |
|
853 |
with gr.Row():
|
854 |
-
|
855 |
-
|
856 |
|
857 |
-
|
858 |
fn=new_experiment,
|
859 |
-
inputs=[
|
860 |
)
|
861 |
|
862 |
-
|
863 |
fn=remove_experiment,
|
864 |
-
inputs=[
|
865 |
)
|
866 |
|
867 |
-
|
868 |
fn=change_experiment,
|
869 |
-
inputs=[
|
870 |
)
|
871 |
|
872 |
with gr.Blocks():
|
|
|
843 |
gr.Markdown("# Experiments")
|
844 |
|
845 |
with gr.Row():
|
846 |
+
new_experiment_b = gr.Textbox(label="New Experiment")
|
847 |
+
new_experiment_button_b = gr.Button("Add Experiment")
|
848 |
|
849 |
with gr.Row():
|
850 |
+
remove_experiment_b = gr.Textbox(label="Remove Experiment")
|
851 |
+
remove_experiment_button_b = gr.Button("Remove Experiment")
|
852 |
|
853 |
with gr.Row():
|
854 |
+
change_experiment_b = gr.Textbox(label="Change Experiment")
|
855 |
+
change_experiment_button_b = gr.Button("Change Experiment")
|
856 |
|
857 |
+
new_experiment_button_b.click(
|
858 |
fn=new_experiment,
|
859 |
+
inputs=[new_experiment_b, host_input, port_input, username_input, password_input, pioreactor_input, experiment_input]
|
860 |
)
|
861 |
|
862 |
+
remove_experiment_button_b.click(
|
863 |
fn=remove_experiment,
|
864 |
+
inputs=[remove_experiment_b, host_input, port_input, username_input, password_input, pioreactor_input, experiment_input]
|
865 |
)
|
866 |
|
867 |
+
change_experiment_button_b.click(
|
868 |
fn=change_experiment,
|
869 |
+
inputs=[change_experiment_b, host_input, port_input, username_input, password_input, pioreactor_input, experiment_input]
|
870 |
)
|
871 |
|
872 |
with gr.Blocks():
|