Commit
·
267b2c4
1
Parent(s):
578f3e2
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,7 +136,7 @@ def infer(secret_token, video_in_base64, interpolation, fps_output):
|
|
| 136 |
#print(f"IMG:{img}")
|
| 137 |
# we could use png to avoid any compression artifact, but it takes much more space
|
| 138 |
# alternatively, let's just bump the quality from 95 to 98 for now
|
| 139 |
-
os.rename(img, f"{frame}_to_{next_frame}_{j}.jpg"
|
| 140 |
result_frames.append(f"{frame}_to_{next_frame}_{j}.jpg")
|
| 141 |
|
| 142 |
print("frames " + str(idx) + " & " + str(idx+1) + "/" + str(n_frame) + ": done;")
|
|
|
|
| 136 |
#print(f"IMG:{img}")
|
| 137 |
# we could use png to avoid any compression artifact, but it takes much more space
|
| 138 |
# alternatively, let's just bump the quality from 95 to 98 for now
|
| 139 |
+
os.rename(img, f"{frame}_to_{next_frame}_{j}.jpg")
|
| 140 |
result_frames.append(f"{frame}_to_{next_frame}_{j}.jpg")
|
| 141 |
|
| 142 |
print("frames " + str(idx) + " & " + str(idx+1) + "/" + str(n_frame) + ": done;")
|