Spaces:
Runtime error
Runtime error
LuChengTHU
commited on
Commit
β’
a826c63
1
Parent(s):
39d2dd2
fix img2img
Browse files
app.py
CHANGED
@@ -133,8 +133,8 @@ def img_to_img(model_path, prompt, neg_prompt, img, strength, guidance, steps, w
|
|
133 |
num_inference_steps = int(steps),
|
134 |
strength = strength,
|
135 |
guidance_scale = guidance,
|
136 |
-
width = width,
|
137 |
-
height = height,
|
138 |
generator = generator)
|
139 |
|
140 |
return replace_nsfw_images(result)
|
|
|
133 |
num_inference_steps = int(steps),
|
134 |
strength = strength,
|
135 |
guidance_scale = guidance,
|
136 |
+
#width = width,
|
137 |
+
#height = height,
|
138 |
generator = generator)
|
139 |
|
140 |
return replace_nsfw_images(result)
|