Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -252,7 +252,7 @@ with gr.Blocks() as demo:
|
|
252 |
# label="Examples",
|
253 |
# examples_per_page=20
|
254 |
# )
|
255 |
-
submit.click(fn=check_input_image, inputs=[input_image
|
256 |
fn=run_example,
|
257 |
inputs=[input_image,text_prompt, do_remove_background, foreground_ratio, mc_resolution],
|
258 |
outputs=[processed_image, output_model_obj, output_model_glb],
|
|
|
252 |
# label="Examples",
|
253 |
# examples_per_page=20
|
254 |
# )
|
255 |
+
submit.click(fn=check_input_image, inputs=[input_image]).success(
|
256 |
fn=run_example,
|
257 |
inputs=[input_image,text_prompt, do_remove_background, foreground_ratio, mc_resolution],
|
258 |
outputs=[processed_image, output_model_obj, output_model_glb],
|