xinjie.wang commited on
Commit
7b331b8
·
1 Parent(s): b535a39
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -296,13 +296,13 @@ with gr.Blocks(
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(
 
296
  ],
297
  )
298
  image_prompt.change(
 
 
 
 
299
  preprocess_image_fn,
300
  inputs=image_prompt,
301
  outputs=image_prompt,
302
+ ).success(
303
+ active_btn_by_content,
304
+ inputs=image_prompt,
305
+ outputs=generate_btn,
306
  )
307
 
308
  # image_prompt_sam.upload(