Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ model = load_model()
|
|
66 |
# Text-to-video generation function
|
67 |
@spaces.GPU(duration=120)
|
68 |
def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guidance_scale=5, progress=gr.Progress(track_tqdm=True)):
|
69 |
-
multiplier =
|
70 |
temp = int(duration * multiplier) + 1
|
71 |
torch_dtype = torch.bfloat16 if MODEL_DTYPE == "bf16" else torch.float32
|
72 |
if(image):
|
|
|
66 |
# Text-to-video generation function
|
67 |
@spaces.GPU(duration=120)
|
68 |
def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guidance_scale=5, progress=gr.Progress(track_tqdm=True)):
|
69 |
+
multiplier = 2.4
|
70 |
temp = int(duration * multiplier) + 1
|
71 |
torch_dtype = torch.bfloat16 if MODEL_DTYPE == "bf16" else torch.float32
|
72 |
if(image):
|