Spaces:
Build error
Build error
app.py
CHANGED
@@ -73,7 +73,7 @@ def generate_gifs(gif_transcript, words, words_timestamp):
|
|
73 |
print(f"start_seconds, end_seconds are : ({start_seconds}, {end_seconds})")
|
74 |
#generated .gif image
|
75 |
gif_img = gen_moviepy_gif(start_seconds, end_seconds)
|
76 |
-
gif_img.save('./gifimage1.gif')
|
77 |
#gif_img = gen_moviepy_gif(start_seconds, end_seconds)
|
78 |
#gif_img = f"./gifimage.gif"
|
79 |
#html_out = "<img src= '" + gif_img + "' alt='create a gif from video' width='100%'/>"
|
|
|
73 |
print(f"start_seconds, end_seconds are : ({start_seconds}, {end_seconds})")
|
74 |
#generated .gif image
|
75 |
gif_img = gen_moviepy_gif(start_seconds, end_seconds)
|
76 |
+
gif_img.save('./gifimage1.gif', save_all=True)
|
77 |
#gif_img = gen_moviepy_gif(start_seconds, end_seconds)
|
78 |
#gif_img = f"./gifimage.gif"
|
79 |
#html_out = "<img src= '" + gif_img + "' alt='create a gif from video' width='100%'/>"
|