Spaces:
Sleeping
Sleeping
XufengDuan
commited on
Commit
•
9acf026
1
Parent(s):
ec7c10d
update scripts
Browse files
src/backend/model_operations.py
CHANGED
@@ -35,7 +35,7 @@ import spacy_transformers
|
|
35 |
import subprocess
|
36 |
|
37 |
# Run the command to download the spaCy model
|
38 |
-
|
39 |
# subprocess.run(["python", "-m", "spacy", "download", "en_core_web_sm"], check=True)
|
40 |
# subprocess.run(["pip", "install", "spacy-transformers"], check=True)
|
41 |
# subprocess.run(["pip", "install", "curated-transformers"], check=True)
|
|
|
35 |
import subprocess
|
36 |
|
37 |
# Run the command to download the spaCy model
|
38 |
+
subprocess.run(["python", "-m", "spacy", "download", "en_core_web_lg"], check=True)
|
39 |
# subprocess.run(["python", "-m", "spacy", "download", "en_core_web_sm"], check=True)
|
40 |
# subprocess.run(["pip", "install", "spacy-transformers"], check=True)
|
41 |
# subprocess.run(["pip", "install", "curated-transformers"], check=True)
|