Prageeth-1 commited on
Commit
991db0d
·
verified ·
1 Parent(s): 2870179

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def preprocess_text():
59
  return "".join([char for char in text if char not in string.punctuation])
60
 
61
  # applying the function
62
- df["cleaned_content"] = df["cleaned_content"].apply(lambda text: remove_punctuation(text)
63
 
64
  # Get the list of stop words
65
  stop_words = set(stopwords.words('english'))
 
59
  return "".join([char for char in text if char not in string.punctuation])
60
 
61
  # applying the function
62
+ df["cleaned_content"] = df["cleaned_content"].apply(lambda text: remove_punctuation(text))
63
 
64
  # Get the list of stop words
65
  stop_words = set(stopwords.words('english'))