kris-123 commited on
Commit
74eb73a
1 Parent(s): bb227d7

Fix typo in function name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,6 +46,6 @@ with gr.Blocks() as demo:
46
  p2 = gr.Slider(0, 10, label="Kernel coefficient", value=2, step=1e-3)
47
  p3 = gr.Slider(0, 1, label="Hyperparameter for ridge regression", value=0.1, step=1e-3)
48
  btn = gr.Button(value="Submit")
49
- btn.click(plot_multi_tree, inputs= [p1,p2,p3], outputs= gr.Plot(label='Projecting data with PCA and Kernel PCA') )
50
 
51
  demo.launch()
 
46
  p2 = gr.Slider(0, 10, label="Kernel coefficient", value=2, step=1e-3)
47
  p3 = gr.Slider(0, 1, label="Hyperparameter for ridge regression", value=0.1, step=1e-3)
48
  btn = gr.Button(value="Submit")
49
+ btn.click(fit_plot, inputs= [p1,p2,p3], outputs= gr.Plot(label='Projecting data with PCA and Kernel PCA') )
50
 
51
  demo.launch()