vumichien commited on
Commit
4e100d7
·
1 Parent(s): aa78c1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ with gr.Blocks(theme=theme) as demo:
125
  gr.Markdown(model_card)
126
  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_mini_batch_kmeans.html#sphx-glr-auto-examples-cluster-plot-mini-batch-kmeans-py\">scikit-learn</a>")
127
  n_samples = gr.Slider(minimum=500, maximum=5000, step=500, value=500, label="Number of samples")
128
- batch_size = gr.Slider(minimum=50, maximum=500, step=50, value=50, label="Size of the mini batches")
129
  with gr.Row():
130
  with gr.Column():
131
  plot1 = gr.Plot(label="KMeans")
 
125
  gr.Markdown(model_card)
126
  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_mini_batch_kmeans.html#sphx-glr-auto-examples-cluster-plot-mini-batch-kmeans-py\">scikit-learn</a>")
127
  n_samples = gr.Slider(minimum=500, maximum=5000, step=500, value=500, label="Number of samples")
128
+ batch_size = gr.Slider(minimum=100, maximum=2000, step=100, value=100, label="Size of the mini batches")
129
  with gr.Row():
130
  with gr.Column():
131
  plot1 = gr.Plot(label="KMeans")