Linoy Tsaban commited on
Commit
1a248f3
1 Parent(s): cf5dab0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -79,8 +79,7 @@ def edit(input_image, input_image_prompt, target_prompt, edit_prompt,
79
  edit_mom_beta=0.6
80
  )
81
  sega_out = sem_pipe(prompt=target_prompt,eta=eta, latents=latnets,
82
- num_images_per_prompt=1,
83
- guidance_scale=edit_guidance_scale,
84
  num_inference_steps=num_diffusion_steps_pure_ddpm,
85
  use_ddpm=True, wts=wts, zs=zs[skip:], **editing_args)
86
  return pure_ddpm_out,sega_out.images[0]
 
79
  edit_mom_beta=0.6
80
  )
81
  sega_out = sem_pipe(prompt=target_prompt,eta=eta, latents=latnets,
82
+ num_images_per_prompt=1,
 
83
  num_inference_steps=num_diffusion_steps_pure_ddpm,
84
  use_ddpm=True, wts=wts, zs=zs[skip:], **editing_args)
85
  return pure_ddpm_out,sega_out.images[0]