Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def resize_video(input_file):
|
|
| 54 |
new_height_adjusted = adjust_to_multiple_of_12(new_height)
|
| 55 |
new_width_adjusted = adjust_to_multiple_of_12(512)
|
| 56 |
print(f"OLD H: {new_height} | NEW H: {new_height_adjusted}")
|
| 57 |
-
print(f"OLD W:
|
| 58 |
|
| 59 |
# Resize the video clip
|
| 60 |
resized_clip = clip.resize(width=new_width_adjusted, height=new_height_adjusted)
|
|
|
|
| 54 |
new_height_adjusted = adjust_to_multiple_of_12(new_height)
|
| 55 |
new_width_adjusted = adjust_to_multiple_of_12(512)
|
| 56 |
print(f"OLD H: {new_height} | NEW H: {new_height_adjusted}")
|
| 57 |
+
print(f"OLD W: 512 | NEW W: {new_width_adjusted}")
|
| 58 |
|
| 59 |
# Resize the video clip
|
| 60 |
resized_clip = clip.resize(width=new_width_adjusted, height=new_height_adjusted)
|