Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def resize_video(input_file, output_file, new_width):
|
|
55 |
print(f"OLD H: {new_height} | NEW H: {new_height_adjusted}")
|
56 |
|
57 |
# Resize the video clip
|
58 |
-
resized_clip = clip.resize(width=
|
59 |
|
60 |
# Write the resized video to a file
|
61 |
resized_clip.write_videofile(output_file, codec="libx264")
|
|
|
55 |
print(f"OLD H: {new_height} | NEW H: {new_height_adjusted}")
|
56 |
|
57 |
# Resize the video clip
|
58 |
+
resized_clip = clip.resize(width=512, height=new_height_adjusted)
|
59 |
|
60 |
# Write the resized video to a file
|
61 |
resized_clip.write_videofile(output_file, codec="libx264")
|