Pringled commited on
Commit
24f1526
·
1 Parent(s): a81fb12
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -156,15 +156,9 @@ def perform_deduplication(
156
  status = "Extracting texts from Dataset 1..."
157
  yield status, ""
158
  texts = [example[dataset1_text_column] for example in ds]
159
-
160
- #patched_tqdm = patch_tqdm_for_gradio(progress)
161
- #patch_model2vec_tqdm(progress)
162
- #model.encode = original_encode_with_tqdm(model.encode, patched_tqdm)
163
  # Compute embeddings
164
  status = "Computing embeddings for Dataset 1..."
165
  yield status, ""
166
-
167
-
168
  embedding_matrix = model.encode(texts, show_progressbar=True)
169
  # embedding_matrix = compute_embeddings(
170
  # texts,
 
156
  status = "Extracting texts from Dataset 1..."
157
  yield status, ""
158
  texts = [example[dataset1_text_column] for example in ds]
 
 
 
 
159
  # Compute embeddings
160
  status = "Computing embeddings for Dataset 1..."
161
  yield status, ""
 
 
162
  embedding_matrix = model.encode(texts, show_progressbar=True)
163
  # embedding_matrix = compute_embeddings(
164
  # texts,