Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
82 |
pipe.enable_model_cpu_offload()
|
83 |
pipe.enable_vae_tiling()
|
84 |
|
85 |
-
@spaces.GPU(duration=
|
86 |
def generate_video(prompt, num_frames=84, fps=30, high_quality=False):
|
87 |
"""Generate a video based on the input prompt."""
|
88 |
if high_quality:
|
|
|
82 |
pipe.enable_model_cpu_offload()
|
83 |
pipe.enable_vae_tiling()
|
84 |
|
85 |
+
@spaces.GPU(duration=120)
|
86 |
def generate_video(prompt, num_frames=84, fps=30, high_quality=False):
|
87 |
"""Generate a video based on the input prompt."""
|
88 |
if high_quality:
|