alfredplpl commited on
Commit
65d2f97
1 Parent(s): eecd0a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -172,12 +172,10 @@ def img_to_img(prompt, neg_prompt, img, strength, guidance, steps, width, height
172
  result = pipe_i2i(
173
  prompt,
174
  negative_prompt = neg_prompt,
175
- init_image = img,
176
  num_inference_steps = int(steps),
177
  strength = strength,
178
  guidance_scale = guidance,
179
- #width = width,
180
- #height = height,
181
  generator = generator)
182
 
183
  return result.images[0]
 
172
  result = pipe_i2i(
173
  prompt,
174
  negative_prompt = neg_prompt,
175
+ image = img,
176
  num_inference_steps = int(steps),
177
  strength = strength,
178
  guidance_scale = guidance,
 
 
179
  generator = generator)
180
 
181
  return result.images[0]