Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
| 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,
|