Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,6 +108,7 @@ def update_scales(x,prompt,seed, steps, guidance_scale,
|
|
| 108 |
images.append(image)
|
| 109 |
canvas = Image.new('RGB', (1280, 256))
|
| 110 |
for i, im in enumerate(images):
|
|
|
|
| 111 |
canvas.paste(im, (256 * i, 0))
|
| 112 |
return export_to_gif(images, "clip.gif", fps=5), canvas
|
| 113 |
|
|
|
|
| 108 |
images.append(image)
|
| 109 |
canvas = Image.new('RGB', (1280, 256))
|
| 110 |
for i, im in enumerate(images):
|
| 111 |
+
im.resize((256,256))
|
| 112 |
canvas.paste(im, (256 * i, 0))
|
| 113 |
return export_to_gif(images, "clip.gif", fps=5), canvas
|
| 114 |
|