awacke1 commited on
Commit
b1f52ee
·
1 Parent(s): 5c269f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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