fffiloni commited on
Commit
a2e927b
1 Parent(s): 25e410d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)