Spaces:
Sleeping
Sleeping
Ryan
commited on
Commit
·
e59609b
1
Parent(s):
abdf00a
update
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import json
|
|
10 |
|
11 |
# Download necessary NLTK resources function remains unchanged
|
12 |
def download_nltk_resources():
|
13 |
-
"""Download required NLTK resources if not already downloaded"""
|
14 |
try:
|
15 |
# Create nltk_data directory in the user's home directory if it doesn't exist
|
16 |
nltk_data_path = os.path.expanduser("~/nltk_data")
|
|
|
10 |
|
11 |
# Download necessary NLTK resources function remains unchanged
|
12 |
def download_nltk_resources():
|
13 |
+
"""Download required NLTK resources if not already downloaded"""
|
14 |
try:
|
15 |
# Create nltk_data directory in the user's home directory if it doesn't exist
|
16 |
nltk_data_path = os.path.expanduser("~/nltk_data")
|