XufengDuan commited on
Commit
338309c
1 Parent(s): 88e393c

update scripts

Browse files
Files changed (1) hide show
  1. src/backend/model_operations.py +2 -1
src/backend/model_operations.py CHANGED
@@ -34,7 +34,8 @@ import spacy_transformers
34
  import subprocess
35
 
36
  # Run the command to download the spaCy model
37
- subprocess.run(["python", "-m", "spacy", "download", "en_core_web_trf"], check=True)
 
38
  # subprocess.run(["pip", "install", "spacy-transformers"], check=True)
39
  subprocess.run(["pip", "install", "curated-transformers==0.1.1"], check=True)
40
 
 
34
  import subprocess
35
 
36
  # Run the command to download the spaCy model
37
+ # subprocess.run(["python", "-m", "spacy", "download", "en_core_web_trf"], check=True)
38
+ subprocess.run(["python", "-m", "spacy", "download", "en_core_web_sm"], check=True)
39
  # subprocess.run(["pip", "install", "spacy-transformers"], check=True)
40
  subprocess.run(["pip", "install", "curated-transformers==0.1.1"], check=True)
41