Chris4K commited on
Commit
226d49a
·
verified ·
1 Parent(s): 4252190

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- stats["silhouette_score"] = silhouette_score(embeddings, range(len(embeddings)))
 
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: