3v324v23 commited on
Commit
97e677b
·
1 Parent(s): fba47c4

Initial commit

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -187,7 +187,8 @@ if __name__ == "__main__":
187
  load_models()
188
 
189
  os.system("pip show spacy")
190
- os.system("pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.0/en_core_web_sm-2.3.0.tar.gz")
 
191
  nlp = spacy.load('en_core_web_sm')
192
  annotator = errant.load('en', nlp)
193
 
 
187
  load_models()
188
 
189
  os.system("pip show spacy")
190
+ os.system("pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.0/en_core_web_sm-2.3.0.tar.gz")
191
+ os.system("python3 -m spacy download en_core_web_sm")
192
  nlp = spacy.load('en_core_web_sm')
193
  annotator = errant.load('en', nlp)
194