Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from nltk.tokenize import word_tokenize
|
|
5 |
from nltk.probability import FreqDist
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
|
|
8 |
|
9 |
def process_text(text):
|
10 |
# Tokenize the text
|
|
|
5 |
from nltk.probability import FreqDist
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
8 |
+
nltk.download('punkt')
|
9 |
|
10 |
def process_text(text):
|
11 |
# Tokenize the text
|