Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|