multimodalart HF staff commited on
Commit
f2e596f
1 Parent(s): 78994f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -244,7 +244,7 @@ with gr.Blocks(css=css) as demo:
244
 
245
  demo.load(fn=swap_fill, outputs=[disabled_area, enabled_area])
246
  submit_source_civit.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
247
- try_again_button.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
248
  submit_button_civit.click(fn=show_output, inputs=[], outputs=[output]).then(fn=upload_civit_to_hf, inputs=[submit_source_civit], outputs=[output])
249
 
250
  demo.queue()
 
244
 
245
  demo.load(fn=swap_fill, outputs=[disabled_area, enabled_area])
246
  submit_source_civit.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
247
+ try_again_button.click(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
248
  submit_button_civit.click(fn=show_output, inputs=[], outputs=[output]).then(fn=upload_civit_to_hf, inputs=[submit_source_civit], outputs=[output])
249
 
250
  demo.queue()