killwithabass commited on
Commit
e0386b6
·
verified ·
1 Parent(s): a1d972b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora
55
  api_name="/fetch_toxicity_level"
56
  )
57
 
58
- if float(json.loads(result[1])['sexual_minors']) > 0.05 :
59
  print('Minors')
60
  raise gr.Error("Unauthorized request 💥!")
61
 
 
55
  api_name="/fetch_toxicity_level"
56
  )
57
 
58
+ if float(json.loads(result[1])['sexual_minors']) > 0.03 :
59
  print('Minors')
60
  raise gr.Error("Unauthorized request 💥!")
61