Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def Piper(name,positive_prompt,motion):
|
|
102 |
guidance_scale=1,
|
103 |
callback=progress_callback,
|
104 |
callback_step=1,
|
105 |
-
|
106 |
)
|
107 |
|
108 |
export_to_gif(out.frames[0],name,fps=fps)
|
|
|
102 |
guidance_scale=1,
|
103 |
callback=progress_callback,
|
104 |
callback_step=1,
|
105 |
+
num_frames=(fps*time)
|
106 |
)
|
107 |
|
108 |
export_to_gif(out.frames[0],name,fps=fps)
|