multimodalart HF staff commited on
Commit
4b59481
1 Parent(s): eebe32a

Update app.py

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