EuuIia commited on
Commit
d178c3a
·
verified ·
1 Parent(s): 35d232d

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +3 -2
api/ltx_server.py CHANGED
@@ -700,8 +700,9 @@ class VideoService:
700
  final_output_path = output_video_path
701
  print(f"[DEBUG] Falha no move; usando tmp como final: {e}")
702
 
703
- final_concat = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
704
-
 
705
  self._log_gpu_memory("Fim da Geração")
706
  return final_concat, used_seed
707
 
 
700
  final_output_path = output_video_path
701
  print(f"[DEBUG] Falha no move; usando tmp como final: {e}")
702
 
703
+ final_concat = os.path.join(temp_dir, f"concat_fim_{used_seed}.mp4")
704
+ self._concat_mp4s_no_reencode(partes_mp4, final_concat)
705
+
706
  self._log_gpu_memory("Fim da Geração")
707
  return final_concat, used_seed
708