sab
commited on
Commit
•
4b65fa2
1
Parent(s):
82233de
Set GPU duration to 240 seconds (4 minutes) for video generation
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ pipe.enable_model_cpu_offload()
|
|
25 |
pipe.enable_vae_tiling()
|
26 |
|
27 |
|
28 |
-
@spaces.GPU(duration=
|
29 |
def generate_video(prompt, num_frames=84, fps=30, high_quality=False):
|
30 |
if high_quality:
|
31 |
print("High quality option selected. Requires 42GB VRAM.")
|
|
|
25 |
pipe.enable_vae_tiling()
|
26 |
|
27 |
|
28 |
+
@spaces.GPU(duration=240)
|
29 |
def generate_video(prompt, num_frames=84, fps=30, high_quality=False):
|
30 |
if high_quality:
|
31 |
print("High quality option selected. Requires 42GB VRAM.")
|