fffiloni commited on
Commit
b89ba4a
·
1 Parent(s): c043418

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -136,6 +136,7 @@ def run_inference(prompt, video_path, condition, video_length, seed, steps):
136
  # Resize the video
137
  r_width = make_nearest_multiple_of_32(o_width)
138
  r_height = make_nearest_multiple_of_32(o_height)
 
139
  resized = resize_video(video_path, 'resized.mp4', r_width, r_height, target_fps)
140
 
141
  # normalize pixels
 
136
  # Resize the video
137
  r_width = make_nearest_multiple_of_32(o_width)
138
  r_height = make_nearest_multiple_of_32(o_height)
139
+ print(f"multiple of 32 sizes : {r_width}x{r_height}")
140
  resized = resize_video(video_path, 'resized.mp4', r_width, r_height, target_fps)
141
 
142
  # normalize pixels