ysharma HF staff commited on
Commit
2a93029
1 Parent(s): bb1b3e8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def get_gif_timestamps(giflist_indxs, words_timestamp):
159
 
160
  #extracting the video and building and serving a .gif image
161
  def gen_moviepy_gif(start_seconds, end_seconds):
162
- video_path = Path("./ShiaLaBeouf.mp4")
163
  video = mp.VideoFileClip(video_path)
164
  final_clip = video.subclip(start_seconds, end_seconds)
165
  #final_clip.write_videofile("/content/gdrive/My Drive/AI/videoedit/gif1.mp4")
 
159
 
160
  #extracting the video and building and serving a .gif image
161
  def gen_moviepy_gif(start_seconds, end_seconds):
162
+ video_path = "./ShiaLaBeouf.mp4"
163
  video = mp.VideoFileClip(video_path)
164
  final_clip = video.subclip(start_seconds, end_seconds)
165
  #final_clip.write_videofile("/content/gdrive/My Drive/AI/videoedit/gif1.mp4")