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