ysharma HF staff commited on
Commit
e580b76
1 Parent(s): a21a122
Files changed (1) hide show
  1. app.py +1 -1
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%'/>"