Eueuiaa commited on
Commit
1e3d237
·
verified ·
1 Parent(s): 31ca3d5

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +3 -3
api/ltx_server.py CHANGED
@@ -804,7 +804,7 @@ class VideoService:
804
  except Exception:
805
  pass
806
 
807
- latents_parts_up = self._dividir_latentes_por_tamanho(latents_cpu_up,4,1)
808
 
809
  for latents in latents_parts_up:
810
 
@@ -832,7 +832,7 @@ class VideoService:
832
  "output_type": "latent",
833
  "width": second_pass_width,
834
  "height": second_pass_height,
835
- "num_frames": num_pixel_frames_part,
836
  "latents": upsampled_latents, # O tensor upscaled
837
  "guidance_scale": float(guidance_scale),
838
  **second_pass_config
@@ -871,7 +871,7 @@ class VideoService:
871
 
872
  latents_parts = []
873
  for latents in latents_list:
874
- latents_parts.append(self._dividir_latentes_por_tamanho(latents,4,1))
875
 
876
 
877
  partes_mp4 = []
 
804
  except Exception:
805
  pass
806
 
807
+ latents_parts_up = self._dividir_latentes_por_tamanho(latents_cpu_up,15,1)
808
 
809
  for latents in latents_parts_up:
810
 
 
832
  "output_type": "latent",
833
  "width": second_pass_width,
834
  "height": second_pass_height,
835
+ #"num_frames": num_pixel_frames_part,
836
  "latents": upsampled_latents, # O tensor upscaled
837
  "guidance_scale": float(guidance_scale),
838
  **second_pass_config
 
871
 
872
  latents_parts = []
873
  for latents in latents_list:
874
+ latents_parts.append(self._dividir_latentes_por_tamanho(latents,15,1))
875
 
876
 
877
  partes_mp4 = []