nickmuchi commited on
Commit
1860bcd
·
1 Parent(s): b6e3b58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def extract_text_from_file(file):
71
 
72
  return file_text
73
 
74
- def preprocess_plain_text(text,window_size=window_size):
75
 
76
  text = text.encode("ascii", "ignore").decode() # unicode
77
  text = re.sub(r"https*\S+", " ", text) # url
 
71
 
72
  return file_text
73
 
74
+ def preprocess_plain_text(text,window_size=3):
75
 
76
  text = text.encode("ascii", "ignore").decode() # unicode
77
  text = re.sub(r"https*\S+", " ", text) # url