duchaba commited on
Commit
7073b4b
·
1 Parent(s): b8b03e3

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -359,7 +359,7 @@ def _draw_censor(self,data):
359
  col=[self._color_danger, self._color_mid_gray]
360
  elif (data['is_safer_flagged']):
361
  col=[self._color_warning, self._color_mid_gray]
362
- lab = ['Relative Score:\n'+data['max_key'], 'Other']
363
  title='\nBased On Your Personalized Safer Settings,\nThe Message Is Flagged As Unsafe\n'
364
  else:
365
  col=[self._color_success, self._color_mid_gray]
 
359
  col=[self._color_danger, self._color_mid_gray]
360
  elif (data['is_safer_flagged']):
361
  col=[self._color_warning, self._color_mid_gray]
362
+ lab = ['Relative Score:\n'+data['max_key'], 'Other 18 categories']
363
  title='\nBased On Your Personalized Safer Settings,\nThe Message Is Flagged As Unsafe\n'
364
  else:
365
  col=[self._color_success, self._color_mid_gray]