Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -182,7 +182,7 @@ def img_to_img(model_path, prompt, n_images, neg_prompt, img, strength, guidance
|
|
182 |
prompt,
|
183 |
negative_prompt = neg_prompt,
|
184 |
num_images_per_prompt=n_images,
|
185 |
-
|
186 |
num_inference_steps = int(steps),
|
187 |
strength = strength,
|
188 |
guidance_scale = guidance,
|
|
|
182 |
prompt,
|
183 |
negative_prompt = neg_prompt,
|
184 |
num_images_per_prompt=n_images,
|
185 |
+
init_image = img,
|
186 |
num_inference_steps = int(steps),
|
187 |
strength = strength,
|
188 |
guidance_scale = guidance,
|