Spaces:
Runtime error
Runtime error
trying to load model again
Browse files- app.py +2 -1
- 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
|
|
|
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
|