Cricles commited on
Commit
d623620
·
verified ·
1 Parent(s): f6e01da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -78,6 +78,7 @@ model_type = st.radio(
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[1][0].label=="non-toxic":
83
  st.markdown(
 
78
  def highlight_obscene_words(text, model_type):
79
  if model_type=="FRIDA":
80
  result=model_wrapper(text, model_type)
81
+ st.markdown(f"{result}")
82
  for item in result:
83
  if item[1][0].label=="non-toxic":
84
  st.markdown(