iAkashPaul commited on
Commit
4e4921b
·
verified ·
1 Parent(s): e45f756

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def resize_and_crop_to_match(target_image, reference_image):
137
  left, top = (new_width - ref_width) // 2, (new_height - ref_height) // 2
138
  return resized.crop((left, top, left + ref_width, top + ref_height))
139
 
140
- @spaces.GPU(duration=26)
141
  def generate_video(
142
  start_image_pil,
143
  end_image_pil,
 
137
  left, top = (new_width - ref_width) // 2, (new_height - ref_height) // 2
138
  return resized.crop((left, top, left + ref_width, top + ref_height))
139
 
140
+ @spaces.GPU(duration=30)
141
  def generate_video(
142
  start_image_pil,
143
  end_image_pil,