Reduce GPU duration to 120s (H200)
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ setup()
|
|
| 109 |
RESOLUTIONS = ["832x480", "480x832", "640x640", "1024x576", "576x1024"]
|
| 110 |
|
| 111 |
|
| 112 |
-
@spaces.GPU(duration=
|
| 113 |
def generate_video(image, prompt, resolution, steps, guidance_scale, frames, seed):
|
| 114 |
if image is None:
|
| 115 |
raise gr.Error("Please upload an image.")
|
|
|
|
| 109 |
RESOLUTIONS = ["832x480", "480x832", "640x640", "1024x576", "576x1024"]
|
| 110 |
|
| 111 |
|
| 112 |
+
@spaces.GPU(duration=120)
|
| 113 |
def generate_video(image, prompt, resolution, steps, guidance_scale, frames, seed):
|
| 114 |
if image is None:
|
| 115 |
raise gr.Error("Please upload an image.")
|