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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ model_type = st.radio(
77
 
78
  def highlight_obscene_words(text, model_type):
79
  if model_type=="FRIDA":
80
- result=model_wrapper(text)
81
  for item in result:
82
  if item.label=="non-toxic":
83
  st.markdown(
 
77
 
78
  def highlight_obscene_words(text, model_type):
79
  if model_type=="FRIDA":
80
+ result=model_wrapper(text, model_type)
81
  for item in result:
82
  if item.label=="non-toxic":
83
  st.markdown(