Spaces:
Build error
Build error
zhenyundeng
commited on
Commit
·
344c25f
1
Parent(s):
ddd6481
update
Browse files- html2lines.py +1 -1
html2lines.py
CHANGED
|
@@ -6,7 +6,7 @@ from trafilatura.meta import reset_caches
|
|
| 6 |
from trafilatura.settings import DEFAULT_CONFIG
|
| 7 |
import spacy
|
| 8 |
import os
|
| 9 |
-
|
| 10 |
nlp = spacy.load('en_core_web_sm')
|
| 11 |
import sys
|
| 12 |
|
|
|
|
| 6 |
from trafilatura.settings import DEFAULT_CONFIG
|
| 7 |
import spacy
|
| 8 |
import os
|
| 9 |
+
os.system("python -m spacy download en_core_web_sm")
|
| 10 |
nlp = spacy.load('en_core_web_sm')
|
| 11 |
import sys
|
| 12 |
|