sasha HF staff commited on
Commit
c4cfb37
1 Parent(s): bdcd7e2

trying to load model again

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -2,7 +2,8 @@ import spacy_streamlit
2
  from spacy.symbols import *
3
  import streamlit as st
4
  import html
5
- import en_core_web_sm
 
6
 
7
  from htbuilder import H, HtmlElement, styles
8
  from htbuilder.units import unit
 
2
  from spacy.symbols import *
3
  import streamlit as st
4
  import html
5
+ import spacy
6
+ nlp = spacy.load("en_core_web_sm")
7
 
8
  from htbuilder import H, HtmlElement, styles
9
  from htbuilder.units import unit
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  spacy-streamlit==1.0.3
2
  st-annotated-text==3.0.0
3
  streamlit==1.10.0
 
1
+ spacy==3.3.1
2
  spacy-streamlit==1.0.3
3
  st-annotated-text==3.0.0
4
  streamlit==1.10.0