Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
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]
|