Update app.py
Browse files
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=
|
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")
|