Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def infer(video_in):
|
|
117 |
print(break_interpolated_video[0])
|
118 |
for j, img in enumerate(break_interpolated_video[0]):
|
119 |
print(f"IMG:{img}")
|
120 |
-
os.rename(img, f"{frame}_to_{next_frame}_{j}.jpg")
|
121 |
result_frames.append(f"{frame}_to_{next_frame}_{j}.jpg")
|
122 |
print("frames " + str(idx) + " & " + str(idx+1) + "/" + str(n_frame) + ": done;")
|
123 |
|
|
|
117 |
print(break_interpolated_video[0])
|
118 |
for j, img in enumerate(break_interpolated_video[0]):
|
119 |
print(f"IMG:{img}")
|
120 |
+
os.rename(img, f"{frame}_to_{next_frame}_{j}.jpg")
|
121 |
result_frames.append(f"{frame}_to_{next_frame}_{j}.jpg")
|
122 |
print("frames " + str(idx) + " & " + str(idx+1) + "/" + str(n_frame) + ": done;")
|
123 |
|