Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
77956e4
1
Parent(s):
8157bfe
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def load_model():
|
|
64 |
model = load_model()
|
65 |
|
66 |
# Text-to-video generation function
|
67 |
-
@spaces.GPU(duration=
|
68 |
def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guidance_scale=5, progress=gr.Progress(track_tqdm=True)):
|
69 |
multiplier = 3
|
70 |
temp = int(duration * multiplier) + 1
|
|
|
64 |
model = load_model()
|
65 |
|
66 |
# Text-to-video generation function
|
67 |
+
@spaces.GPU(duration=200)
|
68 |
def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guidance_scale=5, progress=gr.Progress(track_tqdm=True)):
|
69 |
multiplier = 3
|
70 |
temp = int(duration * multiplier) + 1
|