Cricles commited on
Commit
012ccfd
·
verified ·
1 Parent(s): 8239038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ if st.button("Проверить текст"):
108
  result = re.split(r'[.\n!?]+', user_input)
109
  result = [part for part in result if part.strip() != ""]
110
  if model_type=="FRIDA":
111
- highlight_obscene_words(text,model_type)
112
  else:
113
  if result!=[]:
114
  for text in result:
 
108
  result = re.split(r'[.\n!?]+', user_input)
109
  result = [part for part in result if part.strip() != ""]
110
  if model_type=="FRIDA":
111
+ highlight_obscene_words(result,model_type)
112
  else:
113
  if result!=[]:
114
  for text in result: