xinjie.wang commited on
Commit
db4e4b3
·
1 Parent(s): ed54ba5
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -294,15 +294,15 @@ with gr.Blocks(
294
  est_mass_text,
295
  est_mu_text,
296
  ],
297
- ).success(
298
- preprocess_image_fn,
299
- inputs=[image_prompt],
300
- outputs=[image_prompt],
301
  )
302
  image_prompt.change(
303
  active_btn_by_content,
304
  inputs=image_prompt,
305
  outputs=generate_btn,
 
 
 
 
306
  )
307
 
308
  # image_prompt_sam.upload(
 
294
  est_mass_text,
295
  est_mu_text,
296
  ],
 
 
 
 
297
  )
298
  image_prompt.change(
299
  active_btn_by_content,
300
  inputs=image_prompt,
301
  outputs=generate_btn,
302
+ ).success(
303
+ preprocess_image_fn,
304
+ inputs=[image_prompt],
305
+ outputs=[image_prompt],
306
  )
307
 
308
  # image_prompt_sam.upload(