Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -180,6 +180,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
180 |
#
|
181 |
# accept_button.click(None, None, accept_checkbox, js=js, queue=False)
|
182 |
# accept_checkbox.change(fn=enable_inputs, inputs=[], outputs=[user_consent_block, main_block], queue=False)
|
|
|
183 |
|
184 |
gr.update(visible=False), gr.update(visible=True)
|
185 |
inputs.submit(reset_textbox, [], [inputs, b1], queue=False)
|
@@ -189,3 +190,4 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
189 |
|
190 |
demo.queue(max_size=10, default_concurrency_limit=NUM_THREADS, api_open=False).launch(share=False)
|
191 |
|
|
|
|
180 |
#
|
181 |
# accept_button.click(None, None, accept_checkbox, js=js, queue=False)
|
182 |
# accept_checkbox.change(fn=enable_inputs, inputs=[], outputs=[user_consent_block, main_block], queue=False)
|
183 |
+
main_block()
|
184 |
|
185 |
gr.update(visible=False), gr.update(visible=True)
|
186 |
inputs.submit(reset_textbox, [], [inputs, b1], queue=False)
|
|
|
190 |
|
191 |
demo.queue(max_size=10, default_concurrency_limit=NUM_THREADS, api_open=False).launch(share=False)
|
192 |
|
193 |
+
|