Updates
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def perform_deduplication(
|
|
133 |
)
|
134 |
|
135 |
if num_duplicates > 0:
|
136 |
-
result_text += "**
|
137 |
for dup_idx, orig_idx in list(duplicate_mapping.items())[:5]:
|
138 |
orig_text = texts1[orig_idx]
|
139 |
dup_text = texts1[dup_idx]
|
@@ -171,7 +171,7 @@ def perform_deduplication(
|
|
171 |
)
|
172 |
|
173 |
if num_duplicates > 0:
|
174 |
-
result_text += "**
|
175 |
for idx in duplicate_indices[:5]:
|
176 |
orig_text = texts1[duplicate_mapping[idx]]
|
177 |
dup_text = texts2[idx]
|
|
|
133 |
)
|
134 |
|
135 |
if num_duplicates > 0:
|
136 |
+
result_text += "**Example duplicates:**\n\n"
|
137 |
for dup_idx, orig_idx in list(duplicate_mapping.items())[:5]:
|
138 |
orig_text = texts1[orig_idx]
|
139 |
dup_text = texts1[dup_idx]
|
|
|
171 |
)
|
172 |
|
173 |
if num_duplicates > 0:
|
174 |
+
result_text += "**Example duplicates from Dataset 2:**\n\n"
|
175 |
for idx in duplicate_indices[:5]:
|
176 |
orig_text = texts1[duplicate_mapping[idx]]
|
177 |
dup_text = texts2[idx]
|