Update api/ltx_server.py
Browse files- api/ltx_server.py +1 -1
api/ltx_server.py
CHANGED
|
@@ -795,7 +795,7 @@ class VideoService:
|
|
| 795 |
print(f"[DEBUG] Falha no move; usando tmp como final: {e}")
|
| 796 |
|
| 797 |
total_partes = len(partes_mp4)
|
| 798 |
-
if (total_partes>1)
|
| 799 |
final_vid = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 800 |
partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=8)
|
| 801 |
self._concat_mp4s_no_reencode(partes_mp4_fade, final_vid)
|
|
|
|
| 795 |
print(f"[DEBUG] Falha no move; usando tmp como final: {e}")
|
| 796 |
|
| 797 |
total_partes = len(partes_mp4)
|
| 798 |
+
if (total_partes>1):
|
| 799 |
final_vid = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 800 |
partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=8)
|
| 801 |
self._concat_mp4s_no_reencode(partes_mp4_fade, final_vid)
|