Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ def other():
|
|
171 |
frame_num=f'Working on {i+1} of {frame_count}'
|
172 |
yield fbox2,frame_num,None
|
173 |
def make_gif():
|
174 |
-
clip = f"{uid}-clip.mp4"
|
175 |
clip.write_gif(f"{uid}/clip_gif.gif")
|
176 |
out = f"{uid}/clip_gif.gif"
|
177 |
return out,out
|
|
|
171 |
frame_num=f'Working on {i+1} of {frame_count}'
|
172 |
yield fbox2,frame_num,None
|
173 |
def make_gif():
|
174 |
+
clip = moviepy.video.io.VideoFileClip.VideoFileClip(f"{uid}-clip.mp4")
|
175 |
clip.write_gif(f"{uid}/clip_gif.gif")
|
176 |
out = f"{uid}/clip_gif.gif"
|
177 |
return out,out
|