Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,9 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidan
|
|
38 |
good_vae=good_vae,
|
39 |
):
|
40 |
images.append(img)
|
41 |
-
|
42 |
-
|
|
|
43 |
|
44 |
examples = [
|
45 |
"a tiny astronaut hatching from an egg on the moon",
|
|
|
38 |
good_vae=good_vae,
|
39 |
):
|
40 |
images.append(img)
|
41 |
+
|
42 |
+
images[0].save("output.gif", save_all=True, append_images=images[1:], duration=500, loop=0)
|
43 |
+
yield images[-1], seed, "output.gif"
|
44 |
|
45 |
examples = [
|
46 |
"a tiny astronaut hatching from an egg on the moon",
|