Linoy Tsaban commited on
Commit
116e1ba
1 Parent(s): 3ffe070

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -303,23 +303,7 @@ with gr.Blocks(css='style.css') as demo:
303
  tar_cfg_scale,
304
  ],
305
  outputs=[ddpm_edited_image, wts, zs, do_inversion],
306
- ).success(fn=edit,
307
- inputs=[input_image,
308
- do_inversion,
309
- wts, zs,
310
- seed,
311
- src_prompt,
312
- tar_prompt,
313
- steps,
314
- skip,
315
- tar_cfg_scale,
316
- edit_concept,
317
- sega_edit_guidance,
318
- warm_up,
319
- # neg_guidance,
320
-
321
- ],
322
- outputs=[sega_edited_image])
323
 
324
  edit_button.click(
325
  fn=edit,
 
303
  tar_cfg_scale,
304
  ],
305
  outputs=[ddpm_edited_image, wts, zs, do_inversion],
306
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
 
308
  edit_button.click(
309
  fn=edit,