minor bug fix
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ with gr.Blocks(title=title) as demo:
|
|
141 |
for _ in iter_grid(1, 3):
|
142 |
|
143 |
model = models[model_counter]
|
144 |
-
plot = gr.Plot(label=
|
145 |
n_samples.change(fn=compute_and_plot, inputs=[0.98, 0.4, 0.7, 20, 60, 'covariance', model], outputs=plot)
|
146 |
n_features.change(fn=compute_and_plot, inputs=[0.98, 0.4, 0.7, 20, 60, 'covariance', model], outputs=plot)
|
147 |
alpha.change(fn=compute_and_plot, inputs=[0.98, 0.4, 0.7, 20, 60, 'covariance', model], outputs=plot)
|
|
|
141 |
for _ in iter_grid(1, 3):
|
142 |
|
143 |
model = models[model_counter]
|
144 |
+
plot = gr.Plot(label=model)
|
145 |
n_samples.change(fn=compute_and_plot, inputs=[0.98, 0.4, 0.7, 20, 60, 'covariance', model], outputs=plot)
|
146 |
n_features.change(fn=compute_and_plot, inputs=[0.98, 0.4, 0.7, 20, 60, 'covariance', model], outputs=plot)
|
147 |
alpha.change(fn=compute_and_plot, inputs=[0.98, 0.4, 0.7, 20, 60, 'covariance', model], outputs=plot)
|