minor bug fix
Browse files
app.py
CHANGED
|
@@ -144,7 +144,7 @@ with gr.Blocks(title=title) as demo:
|
|
| 144 |
|
| 145 |
model = models[model_counter]
|
| 146 |
plot = gr.Plot(label=model)
|
| 147 |
-
fn = partial(compute_and_plot, model=
|
| 148 |
n_samples.change(fn=fn, inputs=[alpha, smallest_coef, largest_coef, n_features, n_samples], outputs=plot)
|
| 149 |
n_features.change(fn=fn, inputs=[alpha, smallest_coef, largest_coef, n_features, n_samples], outputs=plot)
|
| 150 |
alpha.change(fn=fn, inputs=[alpha, smallest_coef, largest_coef, n_features, n_samples], outputs=plot)
|
|
|
|
| 144 |
|
| 145 |
model = models[model_counter]
|
| 146 |
plot = gr.Plot(label=model)
|
| 147 |
+
fn = partial(compute_and_plot, model=model, measure='covariance')
|
| 148 |
n_samples.change(fn=fn, inputs=[alpha, smallest_coef, largest_coef, n_features, n_samples], outputs=plot)
|
| 149 |
n_features.change(fn=fn, inputs=[alpha, smallest_coef, largest_coef, n_features, n_samples], outputs=plot)
|
| 150 |
alpha.change(fn=fn, inputs=[alpha, smallest_coef, largest_coef, n_features, n_samples], outputs=plot)
|