stable-diffusion-ai commited on
Commit
9efb95d
·
verified ·
1 Parent(s): 6884d81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
181
  def enable_inputs():
182
  return user_consent_block.update(visible=False), main_block.update(visible=True)
183
 
184
- accept_button.click(None, None, accept_checkbox, _js=js, queue=False)
185
  accept_checkbox.change(fn=enable_inputs, inputs=[], outputs=[user_consent_block, main_block], queue=False)
186
 
187
  inputs.submit(reset_textbox, [], [inputs, b1], queue=False)
 
181
  def enable_inputs():
182
  return user_consent_block.update(visible=False), main_block.update(visible=True)
183
 
184
+ accept_button.click(None, None, accept_checkbox, queue=False)
185
  accept_checkbox.change(fn=enable_inputs, inputs=[], outputs=[user_consent_block, main_block], queue=False)
186
 
187
  inputs.submit(reset_textbox, [], [inputs, b1], queue=False)