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