Update api/ltx_server.py
Browse files- api/ltx_server.py +3 -2
api/ltx_server.py
CHANGED
|
@@ -786,11 +786,12 @@ class VideoService:
|
|
| 786 |
final_concat = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 787 |
#self._concat_mp4s_no_reencode(partes_mp4, final_concat)
|
| 788 |
self._concat_crossfade_cascade(
|
| 789 |
-
partes_mp4,
|
| 790 |
-
final_concat,
|
| 791 |
crossfade_frames=8,
|
|
|
|
| 792 |
)
|
| 793 |
|
|
|
|
| 794 |
self._log_gpu_memory("Fim da Geração")
|
| 795 |
return final_concat, used_seed
|
| 796 |
|
|
|
|
| 786 |
final_concat = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 787 |
#self._concat_mp4s_no_reencode(partes_mp4, final_concat)
|
| 788 |
self._concat_crossfade_cascade(
|
| 789 |
+
video_paths=partes_mp4,
|
|
|
|
| 790 |
crossfade_frames=8,
|
| 791 |
+
output_path=final_concat,
|
| 792 |
)
|
| 793 |
|
| 794 |
+
|
| 795 |
self._log_gpu_memory("Fim da Geração")
|
| 796 |
return final_concat, used_seed
|
| 797 |
|