fffiloni commited on
Commit
c2a1769
·
1 Parent(s): 53386f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=new_width, height=new_height_adjusted)
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")