Spaces:
Runtime error
Runtime error
👽️ last nltk try
Browse filesSigned-off-by: peter szemraj <[email protected]>
app.py
CHANGED
@@ -34,8 +34,12 @@ from utils import load_example_filenames, saves_summary, truncate_word_count
|
|
34 |
|
35 |
_here = Path(__file__).parent
|
36 |
|
37 |
-
nltk.download("
|
38 |
-
nltk.download(
|
|
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
MODEL_OPTIONS = [
|
|
|
34 |
|
35 |
_here = Path(__file__).parent
|
36 |
|
37 |
+
nltk.download("punkt", force=True, download_dir=str(_here / "nltk_data"), quiet=True)
|
38 |
+
nltk.download(
|
39 |
+
"popular",
|
40 |
+
force=True,
|
41 |
+
download_dir=str(_here / "nltk_data"),
|
42 |
+
)
|
43 |
|
44 |
|
45 |
MODEL_OPTIONS = [
|