iAkashPaul commited on
Commit
01d9ecd
·
verified ·
1 Parent(s): 8323fa2

updated default zeroGPU seconds reservation to get more out of 600s

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=120)
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,