JasonTPhillipsJr commited on
Commit
1aa7dda
·
verified ·
1 Parent(s): 12a7b0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -3,9 +3,7 @@ import spacy
3
  from transformers import pipeline
4
  from PIL import Image
5
 
6
- python -m spacy download en_core_web_sm
7
-
8
- nlp = spacy.load("en_core_web_sm")
9
 
10
  st.title("SpaGAN Demo")
11
  st.write("Enter a text, and the system will highlight the geo-entities within it.")
 
3
  from transformers import pipeline
4
  from PIL import Image
5
 
6
+ nlp = spacy.load("./models/en_core_web_sm")
 
 
7
 
8
  st.title("SpaGAN Demo")
9
  st.write("Enter a text, and the system will highlight the geo-entities within it.")