Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ setup()
|
|
| 118 |
RESOLUTIONS = ["832x480", "480x832", "640x640", "1024x576", "576x1024"]
|
| 119 |
|
| 120 |
|
| 121 |
-
@spaces.GPU(duration=
|
| 122 |
def generate_video(image, prompt, resolution, steps, guidance_scale, frames, seed):
|
| 123 |
if image is None:
|
| 124 |
raise gr.Error("Please upload an image.")
|
|
|
|
| 118 |
RESOLUTIONS = ["832x480", "480x832", "640x640", "1024x576", "576x1024"]
|
| 119 |
|
| 120 |
|
| 121 |
+
@spaces.GPU(duration=120)
|
| 122 |
def generate_video(image, prompt, resolution, steps, guidance_scale, frames, seed):
|
| 123 |
if image is None:
|
| 124 |
raise gr.Error("Please upload an image.")
|