Rzhishchev commited on
Commit
aadb1dc
1 Parent(s): 0e9f7cd

Update toxic.py

Browse files
Files changed (1) hide show
  1. toxic.py +1 -1
toxic.py CHANGED
@@ -25,7 +25,7 @@ def app():
25
  return 1 - proba.T[0] * (1 - proba.T[-1])
26
  return proba
27
 
28
- user_input = st.text_area("Enter text to check for toxicity:", "Капец ты гнида")
29
  if st.button("Analyze"):
30
  toxicity_score = text2toxicity(user_input, True)
31
  st.write(f"Toxicity Score: {toxicity_score:.4f}")
 
25
  return 1 - proba.T[0] * (1 - proba.T[-1])
26
  return proba
27
 
28
+ user_input = st.text_area("Enter text to check for toxicity:", "Собака сутулая")
29
  if st.button("Analyze"):
30
  toxicity_score = text2toxicity(user_input, True)
31
  st.write(f"Toxicity Score: {toxicity_score:.4f}")