tonyassi commited on
Commit
d0dd64d
1 Parent(s): 0fd4beb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -34,12 +34,12 @@ def generate(image_editor, prompt, neg_prompt, strength, guidance):
34
 
35
  final_image = pipeline(prompt=prompt,
36
  image=image,
37
- mask_image=mask,).images[0]
38
- #width=image.width,
39
- #height=image.height,
40
- #num_inference_steps=50,
41
- #strength=strength,
42
- #guidance_scale=guidance).images[0]
43
 
44
  return image_editor, image, mask, final_image
45
 
 
34
 
35
  final_image = pipeline(prompt=prompt,
36
  image=image,
37
+ mask_image=mask,
38
+ width=image.width,
39
+ height=image.height,
40
+ num_inference_steps=50,
41
+ strength=strength,
42
+ guidance_scale=guidance).images[0]
43
 
44
  return image_editor, image, mask, final_image
45