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