Spaces:
Runtime error
Runtime error
Added title and description
Browse files
app.py
CHANGED
@@ -185,7 +185,8 @@ def cluster(clustering_algorithm: str, dataset: str):
|
|
185 |
|
186 |
return fig
|
187 |
|
188 |
-
|
|
|
189 |
demo = gr.Interface(
|
190 |
fn=cluster,
|
191 |
inputs=[
|
@@ -200,6 +201,8 @@ demo = gr.Interface(
|
|
200 |
label="dataset"
|
201 |
),
|
202 |
],
|
|
|
|
|
203 |
outputs=gr.Plot(),
|
204 |
)
|
205 |
|
|
|
185 |
|
186 |
return fig
|
187 |
|
188 |
+
title = "Clustering with Scikit-learn"
|
189 |
+
description = "This example shows how different clustering algorithms work. Simply pick the algorithm and the dataset to see the clusters algorithms make."
|
190 |
demo = gr.Interface(
|
191 |
fn=cluster,
|
192 |
inputs=[
|
|
|
201 |
label="dataset"
|
202 |
),
|
203 |
],
|
204 |
+
title=title,
|
205 |
+
description=description,
|
206 |
outputs=gr.Plot(),
|
207 |
)
|
208 |
|