Spaces:
Build error
Build error
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 =
|
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")
|