Spaces:
Running
Running
Initial commit
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ if __name__ == "__main__":
|
|
187 |
load_models()
|
188 |
|
189 |
os.system("pip show spacy")
|
190 |
-
|
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("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 |
|