Spaces:
Sleeping
Sleeping
VictorGearhead
commited on
Commit
•
1446c38
1
Parent(s):
edfa3f0
Update app.py
Browse files
app.py
CHANGED
@@ -24,16 +24,7 @@ from tqdm.notebook import tqdm
|
|
24 |
import matplotlib.pyplot as plt
|
25 |
|
26 |
import nltk
|
27 |
-
|
28 |
-
|
29 |
-
try:
|
30 |
-
_create_unverified_https_context = ssl._create_unverified_context
|
31 |
-
except AttributeError:
|
32 |
-
pass
|
33 |
-
else:
|
34 |
-
ssl._create_default_https_context = _create_unverified_https_context
|
35 |
-
|
36 |
-
nltk.download()
|
37 |
from nltk.tokenize import word_tokenize
|
38 |
|
39 |
import random
|
|
|
24 |
import matplotlib.pyplot as plt
|
25 |
|
26 |
import nltk
|
27 |
+
nltk.download('punkt')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
from nltk.tokenize import word_tokenize
|
29 |
|
30 |
import random
|