Winnie-Kay commited on
Commit
e51fda8
·
1 Parent(s): de68813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -35,7 +35,6 @@ model2 = AutoModelForSequenceClassification.from_pretrained(model2_path)
35
 
36
  def preprocess(text):
37
  new_text = []
38
-   # Replace user mentions with '@user'
39
  for t in text.split(" "):
40
  t = '@user' if t.startswith('@') and len(t) > 1 else t
41
  # Replace links with 'http'
 
35
 
36
  def preprocess(text):
37
  new_text = []
 
38
  for t in text.split(" "):
39
  t = '@user' if t.startswith('@') and len(t) > 1 else t
40
  # Replace links with 'http'