alfredplpl commited on
Commit
1a3ab60
1 Parent(s): fe3bbad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -179,7 +179,7 @@ def img_to_img(prompt, neg_prompt, img, strength, guidance, steps, width, height
179
  low_res_latents = pipe_i2i(
180
  prompt,
181
  negative_prompt = neg_prompt,
182
- init_image = img,
183
  num_inference_steps = int(steps),
184
  strength = strength,
185
  guidance_scale = guidance,
@@ -203,7 +203,7 @@ def img_to_img(prompt, neg_prompt, img, strength, guidance, steps, width, height
203
  result = pipe_i2i(
204
  prompt,
205
  negative_prompt = neg_prompt,
206
- init_image = img,
207
  num_inference_steps = int(steps),
208
  strength = strength,
209
  guidance_scale = guidance,
 
179
  low_res_latents = pipe_i2i(
180
  prompt,
181
  negative_prompt = neg_prompt,
182
+ image = img,
183
  num_inference_steps = int(steps),
184
  strength = strength,
185
  guidance_scale = guidance,
 
203
  result = pipe_i2i(
204
  prompt,
205
  negative_prompt = neg_prompt,
206
+ image = img,
207
  num_inference_steps = int(steps),
208
  strength = strength,
209
  guidance_scale = guidance,