duchaba commited on
Commit
c99b7b7
·
verified ·
1 Parent(s): 9df3295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -845,8 +845,8 @@ def _censor_me(self, p, safer=0.0005):
845
  #
846
  v1 = resp_dict["results"][0]["category_scores"]
847
  v1 = {key: value if value is not None else 0 for key, value in v1.items()}
848
- print(f'resp_dic: {resp_dict}')
849
- print(f'v1: {v1}')
850
 
851
  max_key = max(v1, key=v1.get)
852
  max_value = v1[max_key]
 
845
  #
846
  v1 = resp_dict["results"][0]["category_scores"]
847
  v1 = {key: value if value is not None else 0 for key, value in v1.items()}
848
+ print(f'*** resp_dic: {resp_dict}')
849
+ print(f'*** v1: {v1}')
850
 
851
  max_key = max(v1, key=v1.get)
852
  max_value = v1[max_key]