Spaces:
Runtime error
Runtime error
Changed range of n_samples from 0-100000 to 0-20000
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def agglomorative_cluster(n_samples: int, n_neighbours: int, n_clusters: int, li
|
|
37 |
|
38 |
demo = gr.Interface(
|
39 |
fn = agglomorative_cluster,
|
40 |
-
inputs = [gr.Slider(0,
|
41 |
gr.Slider(0, 30, label="n_neighbours", info="the number of neighbours in the data", step=1),
|
42 |
gr.Dropdown([3, 30], label="n_clusters", info="the number of clusters in the data"),
|
43 |
gr.Dropdown(['average', 'complete', 'ward', 'single'], label="linkage", info="the different types of aggolomorative clustering techniques"),
|
|
|
37 |
|
38 |
demo = gr.Interface(
|
39 |
fn = agglomorative_cluster,
|
40 |
+
inputs = [gr.Slider(0, 20_000, label="n_samples", info="the number of samples in the data.", step=1),
|
41 |
gr.Slider(0, 30, label="n_neighbours", info="the number of neighbours in the data", step=1),
|
42 |
gr.Dropdown([3, 30], label="n_clusters", info="the number of clusters in the data"),
|
43 |
gr.Dropdown(['average', 'complete', 'ward', 'single'], label="linkage", info="the different types of aggolomorative clustering techniques"),
|