adragos commited on
Commit
8461027
·
1 Parent(s): a3e39ba

fix recaptcha

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -460,6 +460,7 @@ with gr.Blocks(
460
  hard_state,
461
  ],
462
  outputs=None,
 
463
  )
464
 
465
  demo.load(
 
460
  hard_state,
461
  ],
462
  outputs=None,
463
+ js="(a, b, c, d, e) => {return [document.getElementsByClassName('g-recaptcha-response')[0]?.value || document.getElementById('recaptcha-token').value, b, c, d, e]}",
464
  )
465
 
466
  demo.load(