Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -435,8 +435,9 @@ def get_duration(
|
|
435 |
input_image, prompt, t2v, n_prompt,
|
436 |
seed, total_second_length, latent_window_size,
|
437 |
steps, cfg, gs, rs, gpu_memory_preservation,
|
438 |
-
use_teacache, mp4_crf
|
439 |
):
|
|
|
440 |
return total_second_length * 60
|
441 |
|
442 |
@spaces.GPU(duration=get_duration)
|
|
|
435 |
input_image, prompt, t2v, n_prompt,
|
436 |
seed, total_second_length, latent_window_size,
|
437 |
steps, cfg, gs, rs, gpu_memory_preservation,
|
438 |
+
use_teacache, mp4_crf, quality_radio=None, aspect_ratio=None
|
439 |
):
|
440 |
+
# Accept extra arguments for compatibility with process()
|
441 |
return total_second_length * 60
|
442 |
|
443 |
@spaces.GPU(duration=get_duration)
|