Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def highlight_obscene_words(text, model_type):
|
|
84 |
)
|
85 |
else:
|
86 |
st.markdown(
|
87 |
-
"<span style='background:#ffcccc;'>{}
|
88 |
unsafe_allow_html=True
|
89 |
)
|
90 |
|
|
|
84 |
)
|
85 |
else:
|
86 |
st.markdown(
|
87 |
+
"<span style='background:#ffcccc;'>{}:токсично</span>".format(text),
|
88 |
unsafe_allow_html=True
|
89 |
)
|
90 |
|