Spaces:
Running
Running
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -267,7 +267,7 @@ class Predictor:
|
|
267 |
frames[frame_idx] = frame
|
268 |
frame_idx += 1
|
269 |
if frame_idx == batch_size:
|
270 |
-
transformed_frames =
|
271 |
transformed_video_frames.extend(transformed_frames)
|
272 |
frame_idx = 0
|
273 |
except Exception as e:
|
|
|
267 |
frames[frame_idx] = frame
|
268 |
frame_idx += 1
|
269 |
if frame_idx == batch_size:
|
270 |
+
transformed_frames = transform_and_save(frames, frame_idx)
|
271 |
transformed_video_frames.extend(transformed_frames)
|
272 |
frame_idx = 0
|
273 |
except Exception as e:
|