marianna13 commited on
Commit
2505df5
·
1 Parent(s): 4766c38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,6 +8,8 @@ import os
8
  import requests
9
  from textwrap import wrap
10
 
 
 
11
  nlp = spacy.load("en_core_web_sm")
12
  nlp.add_pipe('sentencizer')
13
 
 
8
  import requests
9
  from textwrap import wrap
10
 
11
+ os.system('python -m spacy download en_core_web_sm')
12
+
13
  nlp = spacy.load("en_core_web_sm")
14
  nlp.add_pipe('sentencizer')
15