Spaces:
Runtime error
Runtime error
return total_second_length * 60 * (1.5 if use_teacache else 2.5) * (1 + ((steps - 25) / 100))
Browse files
app.py
CHANGED
|
@@ -895,7 +895,7 @@ def get_duration_video(input_video, prompt, n_prompt, randomize_seed, seed, batc
|
|
| 895 |
global total_second_length_debug_value
|
| 896 |
if total_second_length_debug_value is not None:
|
| 897 |
return min(total_second_length_debug_value * 60 * 10, 600)
|
| 898 |
-
return total_second_length * 60 * (1.
|
| 899 |
|
| 900 |
# 20250506 pftq: Modified process to pass clean frame count, etc from video_encode
|
| 901 |
@spaces.GPU(duration=get_duration_video)
|
|
|
|
| 895 |
global total_second_length_debug_value
|
| 896 |
if total_second_length_debug_value is not None:
|
| 897 |
return min(total_second_length_debug_value * 60 * 10, 600)
|
| 898 |
+
return total_second_length * 60 * (1.5 if use_teacache else 2.5) * (1 + ((steps - 25) / 100))
|
| 899 |
|
| 900 |
# 20250506 pftq: Modified process to pass clean frame count, etc from video_encode
|
| 901 |
@spaces.GPU(duration=get_duration_video)
|