Spaces:
Build error
Build error
Gosse Minnema
commited on
Commit
•
7199915
1
Parent(s):
b8ce02e
Temporarily disable NLTK download
Browse files
data
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
../sociofillmore_full/data/
|
output
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
../sociofillmore_full/output/
|
sociofillmore/common/__pycache__/analyze_text.cpython-39.pyc
CHANGED
Binary files a/sociofillmore/common/__pycache__/analyze_text.cpython-39.pyc and b/sociofillmore/common/__pycache__/analyze_text.cpython-39.pyc differ
|
|
sociofillmore/crashes/__pycache__/utils.cpython-39.pyc
CHANGED
Binary files a/sociofillmore/crashes/__pycache__/utils.cpython-39.pyc and b/sociofillmore/crashes/__pycache__/utils.cpython-39.pyc differ
|
|
sociofillmore/webapp/__pycache__/app.cpython-39.pyc
CHANGED
Binary files a/sociofillmore/webapp/__pycache__/app.cpython-39.pyc and b/sociofillmore/webapp/__pycache__/app.cpython-39.pyc differ
|
|
sociofillmore/webapp/app.py
CHANGED
@@ -45,11 +45,11 @@ from sociofillmore.common.analyze_text import (
|
|
45 |
from sociofillmore.crashes.utils import is_a_dutch_text
|
46 |
|
47 |
|
48 |
-
# download nltk packages if needed
|
49 |
-
if sys.argv[2] != "local":
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
|
54 |
# security (very basic!)
|
55 |
PROTECTED_DATASETS = [] # "femicides/rai"
|
|
|
45 |
from sociofillmore.crashes.utils import is_a_dutch_text
|
46 |
|
47 |
|
48 |
+
# # download nltk packages if needed
|
49 |
+
# if sys.argv[2] != "local":
|
50 |
+
# nltk.download("framenet_v17", download_dir="/nltk_data")
|
51 |
+
# nltk.download("punkt", download_dir="/nltk_data")
|
52 |
+
# print("Done!")
|
53 |
|
54 |
# security (very basic!)
|
55 |
PROTECTED_DATASETS = [] # "femicides/rai"
|