Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,9 @@ def flip_video_horizontally(video_path):
|
|
74 |
|
75 |
cap.release()
|
76 |
out.release()
|
77 |
-
|
|
|
|
|
78 |
os.replace(temp_output_path, video_path)
|
79 |
print(f"Finished flipping video:{video_path}")
|
80 |
|
|
|
74 |
|
75 |
cap.release()
|
76 |
out.release()
|
77 |
+
|
78 |
+
print(video_path, os.path.exists(video_path))
|
79 |
+
print(temp_output_path, os.path.exists(temp_output_path))
|
80 |
os.replace(temp_output_path, video_path)
|
81 |
print(f"Finished flipping video:{video_path}")
|
82 |
|