Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ pipe.enable_model_cpu_offload()
|
|
| 13 |
pipe.vae.enable_slicing()
|
| 14 |
|
| 15 |
# 2. GPU-decorated generation function
|
| 16 |
-
@spaces.GPU(duration=
|
| 17 |
def generate_video(prompt: str, steps: int, frames: int, fps: int) -> str:
|
| 18 |
"""
|
| 19 |
Generates video from text with adjustable steps, frames, and fps.
|
|
|
|
| 13 |
pipe.vae.enable_slicing()
|
| 14 |
|
| 15 |
# 2. GPU-decorated generation function
|
| 16 |
+
@spaces.GPU(duration=180)
|
| 17 |
def generate_video(prompt: str, steps: int, frames: int, fps: int) -> str:
|
| 18 |
"""
|
| 19 |
Generates video from text with adjustable steps, frames, and fps.
|