Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import nltk
|
| 3 |
import asyncio
|
| 4 |
|
| 5 |
-
# Use a directory within the user's home
|
| 6 |
nltk_data_dir = os.path.expanduser("~/.nltk_data")
|
| 7 |
os.makedirs(nltk_data_dir, exist_ok=True)
|
| 8 |
nltk.data.path.append(nltk_data_dir)
|
|
|
|
| 2 |
import nltk
|
| 3 |
import asyncio
|
| 4 |
|
| 5 |
+
# Use a directory within the user's home director
|
| 6 |
nltk_data_dir = os.path.expanduser("~/.nltk_data")
|
| 7 |
os.makedirs(nltk_data_dir, exist_ok=True)
|
| 8 |
nltk.data.path.append(nltk_data_dir)
|