Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ st.title('Strong Word Highlighter')
|
|
5 |
st.write('Strong words evoke emotions, may offend and may indicate bias. Write or paste text and the machine will attempt to identify strong words.')
|
6 |
|
7 |
with st.spinner("The model is loading."):
|
8 |
-
nlp =
|
9 |
|
10 |
input = st.text_area()
|
11 |
text = nlp(input)
|
|
|
5 |
st.write('Strong words evoke emotions, may offend and may indicate bias. Write or paste text and the machine will attempt to identify strong words.')
|
6 |
|
7 |
with st.spinner("The model is loading."):
|
8 |
+
nlp = spacy.load('en_pipeline')
|
9 |
|
10 |
input = st.text_area()
|
11 |
text = nlp(input)
|