Spaces:
Runtime error
Runtime error
Update clustering.py
Browse files- clustering.py +1 -1
clustering.py
CHANGED
@@ -696,7 +696,7 @@ def build_sankey_data(
|
|
696 |
for i, threshold in enumerate(threshold_values):
|
697 |
for j in valid_clusters[threshold]:
|
698 |
cluster_name = (
|
699 |
-
f"{j} (d={threshold
|
700 |
)
|
701 |
if cluster_name not in labels:
|
702 |
labels.append(cluster_name)
|
|
|
696 |
for i, threshold in enumerate(threshold_values):
|
697 |
for j in valid_clusters[threshold]:
|
698 |
cluster_name = (
|
699 |
+
f"{j} (d={threshold})\nTotal: {cluster_counts[threshold].get(j, 0)}"
|
700 |
)
|
701 |
if cluster_name not in labels:
|
702 |
labels.append(cluster_name)
|