inoculatemedia commited on
Commit
86a0e87
·
verified ·
1 Parent(s): 8dcccd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def sample(
92
 
93
  return video_path
94
 
95
- def resize_image(image, output_size=(672, 384)):
96
  # Calculate aspect ratios
97
  target_aspect = output_size[0] / output_size[1] # Aspect ratio of the desired size
98
  image_aspect = image.width / image.height # Aspect ratio of the original image
 
92
 
93
  return video_path
94
 
95
+ def resize_image(image, output_size=(1240, 720)):
96
  # Calculate aspect ratios
97
  target_aspect = output_size[0] / output_size[1] # Aspect ratio of the desired size
98
  image_aspect = image.width / image.height # Aspect ratio of the original image