Spaces:
Runtime error
Runtime error
Commit
•
9e3b68b
1
Parent(s):
389369b
Update app.py
Browse files
app.py
CHANGED
@@ -162,8 +162,8 @@ def inpaint(image, width, height, overlap_percentage, num_inference_steps, resiz
|
|
162 |
guidance_scale=3.5,
|
163 |
negative_prompt="",
|
164 |
true_guidance_scale=3.5,
|
165 |
-
|
166 |
-
)
|
167 |
pipe.to("cpu")
|
168 |
vae.to("cuda")
|
169 |
result = vae.decode(latent_image).sample
|
|
|
162 |
guidance_scale=3.5,
|
163 |
negative_prompt="",
|
164 |
true_guidance_scale=3.5,
|
165 |
+
).images
|
166 |
+
print(latent_image)
|
167 |
pipe.to("cpu")
|
168 |
vae.to("cuda")
|
169 |
result = vae.decode(latent_image).sample
|