chinhon commited on
Commit
adbb728
1 Parent(s): 72ef961

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ def clean_text(text):
14
  text = re.sub(r"\n", " ", text)
15
  text = re.sub(r"\n\n", " ", text)
16
  text = re.sub(r"\t", " ", text)
 
17
  text = text.strip(" ")
18
  text = re.sub(
19
  " +", " ", text
14
  text = re.sub(r"\n", " ", text)
15
  text = re.sub(r"\n\n", " ", text)
16
  text = re.sub(r"\t", " ", text)
17
+ text = re.sub(r"ADVERTISEMENT", " ", text)
18
  text = text.strip(" ")
19
  text = re.sub(
20
  " +", " ", text