Cricles commited on
Commit
5cf9c30
·
1 Parent(s): a9c755f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ st.write("""<p style='text-align: center; font-size: 24px;'>Это прилож
55
  И даже не придётся платить 300 bucks.</p>""", unsafe_allow_html=True)
56
 
57
  def highlight_obscene_words(text):
58
- label,probs=model.predict(text.lower())
59
  if label[0]=='__label__positive':
60
  #st.markdown(
61
  # "<span style='background:#47916B;'>приемлемо</span>",
 
55
  И даже не придётся платить 300 bucks.</p>""", unsafe_allow_html=True)
56
 
57
  def highlight_obscene_words(text):
58
+ label,_=model.predict(text.lower())
59
  if label[0]=='__label__positive':
60
  #st.markdown(
61
  # "<span style='background:#47916B;'>приемлемо</span>",