caarleexx commited on
Commit
dda6e98
·
verified ·
1 Parent(s): cac6b1e

Update api/ltx_server_refactored.py

Browse files
Files changed (1) hide show
  1. api/ltx_server_refactored.py +0 -6
api/ltx_server_refactored.py CHANGED
@@ -513,12 +513,6 @@ class VideoService:
513
  conditioning_items = []
514
  for filepath in image_filepaths:
515
  cond_tensor = self._prepare_conditioning_tensor(filepath, downscaled_height, downscaled_width, padding_values)
516
- media_item_latents = vae_encode(
517
- media_item.to(dtype=self.vae.dtype, device=self.vae.device),
518
- self.vae,
519
- vae_per_channel_normalize=vae_per_channel_normalize,
520
- ).to(dtype=init_latents.dtype)
521
-
522
  conditioning_items.append(ConditioningItem(cond_tensor, 0, 1.0))
523
 
524
 
 
513
  conditioning_items = []
514
  for filepath in image_filepaths:
515
  cond_tensor = self._prepare_conditioning_tensor(filepath, downscaled_height, downscaled_width, padding_values)
 
 
 
 
 
 
516
  conditioning_items.append(ConditioningItem(cond_tensor, 0, 1.0))
517
 
518