Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -163,6 +163,7 @@ def update_y(x,y,prompt, seed, steps,
|
|
163 |
|
164 |
@spaces.GPU
|
165 |
def invert(image, num_inversion_steps=50, skip=0.3):
|
|
|
166 |
init_latents,zs = clip_slider_inv.pipe.invert(
|
167 |
source_prompt = "",
|
168 |
image = image,
|
|
|
163 |
|
164 |
@spaces.GPU
|
165 |
def invert(image, num_inversion_steps=50, skip=0.3):
|
166 |
+
image = image.resize((512,512))
|
167 |
init_latents,zs = clip_slider_inv.pipe.invert(
|
168 |
source_prompt = "",
|
169 |
image = image,
|