push app
Browse files
app.py
CHANGED
|
@@ -188,7 +188,9 @@ else:
|
|
| 188 |
image=img,
|
| 189 |
mask_image=combined_mask_img,
|
| 190 |
width=img.width,
|
| 191 |
-
height=img.
|
|
|
|
|
|
|
| 192 |
).images[0]
|
| 193 |
|
| 194 |
# Update the session image to the newly inpainted result
|
|
|
|
| 188 |
image=img,
|
| 189 |
mask_image=combined_mask_img,
|
| 190 |
width=img.width,
|
| 191 |
+
height=img.height,
|
| 192 |
+
guidance_scale=8, # How strongly to follow the prompt
|
| 193 |
+
num_inference_steps=35
|
| 194 |
).images[0]
|
| 195 |
|
| 196 |
# Update the session image to the newly inpainted result
|