AshtonIsNotHere commited on
Commit
7c1a2ad
1 Parent(s): b840e20
Files changed (1) hide show
  1. app.py +1 -1
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 result])
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