Spaces:
Runtime error
Runtime error
Update steamlit_app.py (in UI replace h6 into h5)
Browse files- 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"<
|
|
|
|
| 96 |
labels = logits.argmax(-1)[0].cpu().tolist()
|
| 97 |
sen_hide = highlight_toxic_span(transcript_text.split(), labels)
|
| 98 |
|
| 99 |
+
st.markdown(f"<h5 style='text-align: center;'>{sen_hide}</h5>", unsafe_allow_html=True)
|