ViToSAResearch commited on
Commit
c49e298
·
verified ·
1 Parent(s): 06e0207

Update streamlit_app.py (remove color of sen_hide)

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -96,4 +96,4 @@ if st.button("Transcript and Detect Toxic Spans Now"):
96
  labels = logits.argmax(-1)[0].cpu().tolist()
97
  sen_hide = highlight_toxic_span(transcript_text.split(), labels)
98
 
99
- st.markdown(f"<h1 style='text-align: center; color: red;'>{sen_hide}</h1>", unsafe_allow_html=True)
 
96
  labels = logits.argmax(-1)[0].cpu().tolist()
97
  sen_hide = highlight_toxic_span(transcript_text.split(), labels)
98
 
99
+ st.markdown(f"<h3 style='text-align: center;'>{sen_hide}</h3>", unsafe_allow_html=True)