Spaces:
Runtime error
Runtime error
Commit
·
7c1a2ad
1
Parent(s):
b840e20
Fix join
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def xlmr_base_fn(text):
|
|
55 |
truncated_text = ''.join(tokens[lbound:rbound])
|
56 |
|
57 |
# Handle lowbar from xlmr tokenizer
|
58 |
-
truncated_text = ''.join([x if ord(x) != 9601 else ' ' for x in
|
59 |
else:
|
60 |
truncated_text = text
|
61 |
|
|
|
55 |
truncated_text = ''.join(tokens[lbound:rbound])
|
56 |
|
57 |
# Handle lowbar from xlmr tokenizer
|
58 |
+
truncated_text = ''.join([x if ord(x) != 9601 else ' ' for x in truncated_text])
|
59 |
else:
|
60 |
truncated_text = text
|
61 |
|