multimodalart HF staff commited on
Commit
4c06147
1 Parent(s): e4ee626

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -274,7 +274,7 @@ Get diffusers compatibility, a free GPU-based Inference Widget and possibility t
274
 
275
  demo.load(fn=swap_fill, outputs=[disabled_area, enabled_area])
276
  submit_source_civit.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button, submit_button_civit])
277
- try_again_button.click(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button])
278
  submit_button_civit.click(fn=show_output, inputs=[], outputs=[output]).then(fn=upload_civit_to_hf, inputs=[submit_source_civit], outputs=[output])
279
  gr.LogoutButton(elem_id="logout")
280
  demo.queue()
 
274
 
275
  demo.load(fn=swap_fill, outputs=[disabled_area, enabled_area])
276
  submit_source_civit.change(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button, submit_button_civit])
277
+ try_again_button.click(fn=check_civit_link, inputs=[submit_source_civit], outputs=[instructions, submit_button_civit, try_again_button, submit_button_civit])
278
  submit_button_civit.click(fn=show_output, inputs=[], outputs=[output]).then(fn=upload_civit_to_hf, inputs=[submit_source_civit], outputs=[output])
279
  gr.LogoutButton(elem_id="logout")
280
  demo.queue()