Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.write('Strong words evoke emotions, may offend and may indicate bias. Write o
|
|
7 |
with st.spinner("The model is loading."):
|
8 |
nlp = spacy.load('en_pipeline')
|
9 |
|
10 |
-
input = st.text_area()
|
11 |
text = nlp(input)
|
12 |
|
13 |
output_html = spacy.displacy.render(text, style='ent', jupyter=False, options = {"colors": {'bias': 'ff5a36'}})
|
|
|
7 |
with st.spinner("The model is loading."):
|
8 |
nlp = spacy.load('en_pipeline')
|
9 |
|
10 |
+
input = st.text_area(label = '')
|
11 |
text = nlp(input)
|
12 |
|
13 |
output_html = spacy.displacy.render(text, style='ent', jupyter=False, options = {"colors": {'bias': 'ff5a36'}})
|