aelius commited on
Commit
537de1e
·
1 Parent(s): 9b57230

minor bug fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=input_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)
 
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)