imseldrith commited on
Commit
2eba18a
·
1 Parent(s): 7f15dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ from bs4 import BeautifulSoup
3
  from nltk.tokenize import word_tokenize
4
  from nltk.corpus import wordnet
5
  import random
 
6
 
7
  def paraphrase_text(text):
8
  # Tokenize the text
 
3
  from nltk.tokenize import word_tokenize
4
  from nltk.corpus import wordnet
5
  import random
6
+ nltk.download('punkt')
7
 
8
  def paraphrase_text(text):
9
  # Tokenize the text