Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,6 @@ with st.spinner("The model is loading."):
|
|
10 |
input = st.text_area(label = 'Write or paste text below. Enter and the machine will attempt to identify strong words.')
|
11 |
text = nlp(input)
|
12 |
|
13 |
-
output_html = spacy.displacy.render(text, style='ent', jupyter=False, options = {"colors": {'
|
14 |
|
15 |
st.markdown(output_html, unsafe_allow_html=True)
|
|
|
10 |
input = st.text_area(label = 'Write or paste text below. Enter and the machine will attempt to identify strong words.')
|
11 |
text = nlp(input)
|
12 |
|
13 |
+
output_html = spacy.displacy.render(text, style='ent', jupyter=False, options = {"colors": {'strong':'ff5a36'}})
|
14 |
|
15 |
st.markdown(output_html, unsafe_allow_html=True)
|