Spaces:
Starting
on
T4
Starting
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def infer(video_in):
|
|
114 |
next_frame = frames_list[idx+1]
|
115 |
interpolated_frames = do_interpolation(frame, next_frame) # should return a list of 3 interpolated frames
|
116 |
break_interpolated_video = get_frames(interpolated_frames)[0]
|
117 |
-
for j, img in break_interpolated_video:
|
118 |
img = Image.open(img)
|
119 |
img = Image.save(f"{frame}_to_{next_frame}_{j}")
|
120 |
result_frames.append(img)
|
|
|
114 |
next_frame = frames_list[idx+1]
|
115 |
interpolated_frames = do_interpolation(frame, next_frame) # should return a list of 3 interpolated frames
|
116 |
break_interpolated_video = get_frames(interpolated_frames)[0]
|
117 |
+
for j, img in enumerate(break_interpolated_video):
|
118 |
img = Image.open(img)
|
119 |
img = Image.save(f"{frame}_to_{next_frame}_{j}")
|
120 |
result_frames.append(img)
|