Cricles commited on
Commit
e0db4e5
·
verified ·
1 Parent(s): 24f0828

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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;'>{}:токсично-{:.2f}</span>".format(text,prob),
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