Spaces:
Runtime error
Runtime error
Commit ·
d0d00a7
1
Parent(s): 574268b
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,6 @@ def make_summary(word):
|
|
| 94 |
# if length of text is too short, K means would return an error
|
| 95 |
# use the try except block to return the text as result if it is too short.
|
| 96 |
try:
|
| 97 |
-
|
| 98 |
assigned_clusters = Kclusterer.cluster(X,assign_clusters=True)
|
| 99 |
|
| 100 |
# Apply Kmean Cluster to DataFrame and create new columns Clusters and Centroid
|
|
|
|
| 94 |
# if length of text is too short, K means would return an error
|
| 95 |
# use the try except block to return the text as result if it is too short.
|
| 96 |
try:
|
|
|
|
| 97 |
assigned_clusters = Kclusterer.cluster(X,assign_clusters=True)
|
| 98 |
|
| 99 |
# Apply Kmean Cluster to DataFrame and create new columns Clusters and Centroid
|