Anujgr8 commited on
Commit
21378d2
1 Parent(s): eb7843e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,7 @@ from nltk.corpus import stopwords
8
  from nltk.tokenize import word_tokenize, sent_tokenize
9
  import nltk
10
  nltk.download('stopwords')
 
11
 
12
  def summarize_text(text):
13
  # Tokenizing the text
 
8
  from nltk.tokenize import word_tokenize, sent_tokenize
9
  import nltk
10
  nltk.download('stopwords')
11
+ nltk.download('punkt')
12
 
13
  def summarize_text(text):
14
  # Tokenizing the text