Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
65d2f97
1
Parent(s):
eecd0a1
Update app.py
Browse files
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 |
-
|
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]
|