Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ def get_splade_lexical_representation(text):
|
|
231 |
|
232 |
sorted_representation = sorted(meaningful_tokens.items(), key=lambda item: item[1], reverse=True)
|
233 |
|
234 |
-
formatted_output = "
|
235 |
if not sorted_representation:
|
236 |
formatted_output += "No significant terms found for this input.\n"
|
237 |
else:
|
|
|
231 |
|
232 |
sorted_representation = sorted(meaningful_tokens.items(), key=lambda item: item[1], reverse=True)
|
233 |
|
234 |
+
formatted_output = "MLP Representation:\n\n"
|
235 |
if not sorted_representation:
|
236 |
formatted_output += "No significant terms found for this input.\n"
|
237 |
else:
|