Spaces:
Sleeping
Sleeping
Commit
·
d885f6f
1
Parent(s):
a44de79
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,11 +127,11 @@ with gr.Blocks(title=title, theme=gr.themes.Default(font=[gr.themes.GoogleFont("
|
|
| 127 |
# output = gr.Textbox(label="Output Box")
|
| 128 |
# greet_btn.click(fn=greet, inputs=name, outputs=output)
|
| 129 |
gr.Label(value="Comparison of Covariance Estimators")
|
| 130 |
-
if min_slider_samples_range and changed
|
| 131 |
min_slider_samples_range.change(generate_plots, inputs=[min_slider_samples_range,max_slider_samples_range], outputs= gr.Plot() )
|
| 132 |
changed =True
|
| 133 |
|
| 134 |
-
elif max_slider_samples_range and changed
|
| 135 |
max_slider_samples_range.change(generate_plots, inputs=[min_slider_samples_range,max_slider_samples_range], outputs= gr.Plot() )
|
| 136 |
changed = True
|
| 137 |
|
|
|
|
| 127 |
# output = gr.Textbox(label="Output Box")
|
| 128 |
# greet_btn.click(fn=greet, inputs=name, outputs=output)
|
| 129 |
gr.Label(value="Comparison of Covariance Estimators")
|
| 130 |
+
if min_slider_samples_range and changed == False:
|
| 131 |
min_slider_samples_range.change(generate_plots, inputs=[min_slider_samples_range,max_slider_samples_range], outputs= gr.Plot() )
|
| 132 |
changed =True
|
| 133 |
|
| 134 |
+
elif max_slider_samples_range and changed == False:
|
| 135 |
max_slider_samples_range.change(generate_plots, inputs=[min_slider_samples_range,max_slider_samples_range], outputs= gr.Plot() )
|
| 136 |
changed = True
|
| 137 |
|