Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def predict(prompt, seed=42, randomize_seed=False, guidance_scale=5.0, num_infer
|
|
51 |
width=WIDTH
|
52 |
).images[0]
|
53 |
|
54 |
-
return export_to_gif(split_image(image,
|
55 |
|
56 |
demo = gr.Interface(fn=predict, inputs="text", outputs="image")
|
57 |
|
|
|
51 |
width=WIDTH
|
52 |
).images[0]
|
53 |
|
54 |
+
return export_to_gif(split_image(image, 4), "flux.gif", fps=4), image, seed
|
55 |
|
56 |
demo = gr.Interface(fn=predict, inputs="text", outputs="image")
|
57 |
|