aelius commited on
Commit
70598d5
·
1 Parent(s): e8ee06b

minor bug fix

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