Spaces:
Sleeping
Sleeping
Commit
·
d1044d7
1
Parent(s):
0f8ae09
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,10 +127,10 @@ with gr.Blocks(title=title, theme=gr.themes.Default(font=[gr.themes.GoogleFont("
|
|
| 127 |
# greet_btn.click(fn=greet, inputs=name, outputs=output)
|
| 128 |
gr.Label(value="Comparison of Covariance Estimators")
|
| 129 |
# if min_slider_samples_range:
|
| 130 |
-
|
| 131 |
|
| 132 |
# elif max_slider_samples_range:
|
| 133 |
-
|
| 134 |
# else:
|
| 135 |
# pass
|
| 136 |
|
|
|
|
| 127 |
# greet_btn.click(fn=greet, inputs=name, outputs=output)
|
| 128 |
gr.Label(value="Comparison of Covariance Estimators")
|
| 129 |
# if min_slider_samples_range:
|
| 130 |
+
min_slider_samples_range.change(generate_plots, inputs=[min_slider_samples_range,max_slider_samples_range], outputs= gr.Plot() )
|
| 131 |
|
| 132 |
# elif max_slider_samples_range:
|
| 133 |
+
max_slider_samples_range.input(generate_plots, inputs=[min_slider_samples_range,max_slider_samples_range], outputs= gr.Plot() )
|
| 134 |
# else:
|
| 135 |
# pass
|
| 136 |
|