vumichien commited on
Commit
5a3f531
·
1 Parent(s): 7949c6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -138,13 +138,13 @@ with gr.Blocks(theme=theme) as demo:
138
  ''')
139
  gr.Markdown(model_card)
140
  gr.Markdown("Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the example from <a href=\"https://scikit-learn.org/stable/auto_examples/cluster/plot_inductive_clustering.html#sphx-glr-auto-examples-cluster-plot-inductive-clustering-py\">scikit-learn</a>")
141
- n_samples = gr.Slider(minimum=5000, maximum=10000, step=1000, value=5000, label="Number of samples")
142
- n_new_data = gr.Slider(minimum=100, maximum=1000, step=100, value=100, label="Number of new data")
143
  with gr.Row():
144
  with gr.Column():
145
  plot1 = gr.Plot(label="Clustering")
146
  with gr.Column():
147
- plot2 = gr.Plot(label="Clustering with noise")
148
  with gr.Row():
149
  with gr.Column():
150
  plot3 = gr.Plot(label="Inductive clustering")
 
138
  ''')
139
  gr.Markdown(model_card)
140
  gr.Markdown("Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the example from <a href=\"https://scikit-learn.org/stable/auto_examples/cluster/plot_inductive_clustering.html#sphx-glr-auto-examples-cluster-plot-inductive-clustering-py\">scikit-learn</a>")
141
+ n_samples = gr.Slider(minimum=1000, maximum=5000, step=500, value=1000, label="Number of samples")
142
+ n_new_data = gr.Slider(minimum=100, maximum=500, step=50, value=100, label="Number of new data")
143
  with gr.Row():
144
  with gr.Column():
145
  plot1 = gr.Plot(label="Clustering")
146
  with gr.Column():
147
+ plot2 = gr.Plot(label="Clustering with new data")
148
  with gr.Row():
149
  with gr.Column():
150
  plot3 = gr.Plot(label="Inductive clustering")