kargaranamir commited on
Commit
99377c2
·
1 Parent(s): 4088f89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def preprocess_text(text):
64
  replace_by = " "
65
  replacement_map = {
66
  ord(c): replace_by
67
- for c in string.punctuation + string.digits
68
  }
69
  text = text.translate(replacement_map)
70
 
 
64
  replace_by = " "
65
  replacement_map = {
66
  ord(c): replace_by
67
+ for c in '#{|}' + string.digits
68
  }
69
  text = text.translate(replacement_map)
70