Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ def get_splade_cocondenser_representation(text):
|
|
173 |
|
174 |
sorted_representation = sorted(meaningful_tokens.items(), key=lambda item: item[1], reverse=True)
|
175 |
|
176 |
-
formatted_output = "MLM
|
177 |
if not sorted_representation:
|
178 |
formatted_output += "No significant terms found for this input.\n"
|
179 |
else:
|
|
|
173 |
|
174 |
sorted_representation = sorted(meaningful_tokens.items(), key=lambda item: item[1], reverse=True)
|
175 |
|
176 |
+
formatted_output = "MLM Representation:\n\n"
|
177 |
if not sorted_representation:
|
178 |
formatted_output += "No significant terms found for this input.\n"
|
179 |
else:
|