Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ pipeline = StableVideoDiffusionPipeline.from_pretrained(
|
|
13 |
)
|
14 |
pipeline.to(device)
|
15 |
|
16 |
-
@spaces.GPU
|
17 |
def generate_video(image_path, seed):
|
18 |
# Load and preprocess the image
|
19 |
image = load_image(image_path)
|
|
|
13 |
)
|
14 |
pipeline.to(device)
|
15 |
|
16 |
+
@spaces.GPU(duration=120)
|
17 |
def generate_video(image_path, seed):
|
18 |
# Load and preprocess the image
|
19 |
image = load_image(image_path)
|