Spaces:
Sleeping
Sleeping
Commit
·
c7337af
1
Parent(s):
ff59b44
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from nltk.corpus import wordnet
|
|
5 |
import random
|
6 |
import nltk
|
7 |
nltk.download('punkt')
|
8 |
-
|
9 |
def paraphrase_text(text):
|
10 |
# Tokenize the text
|
11 |
tokens = word_tokenize(text)
|
|
|
5 |
import random
|
6 |
import nltk
|
7 |
nltk.download('punkt')
|
8 |
+
nltk.download('wordnet')
|
9 |
def paraphrase_text(text):
|
10 |
# Tokenize the text
|
11 |
tokens = word_tokenize(text)
|