Update app.py
Browse files
app.py
CHANGED
@@ -282,7 +282,8 @@ def calculate_statistics(results, search_time, vector_store, num_tokens, embeddi
|
|
282 |
|
283 |
# Silhouette Score
|
284 |
if len(embeddings) > 2:
|
285 |
-
|
|
|
286 |
else:
|
287 |
stats["silhouette_score"] = "N/A"
|
288 |
else:
|
|
|
282 |
|
283 |
# Silhouette Score
|
284 |
if len(embeddings) > 2:
|
285 |
+
print('-----')
|
286 |
+
#stats["silhouette_score"] = silhouette_score(embeddings, range(len(embeddings)))
|
287 |
else:
|
288 |
stats["silhouette_score"] = "N/A"
|
289 |
else:
|