File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
src/diffusers/pipelines/wan Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ def __call__(
695695                device , dtype = torch .float32 
696696            )
697697
698-         prepared_latents  =  self .prepare_latents (
698+         latents_outputs  =  self .prepare_latents (
699699            image ,
700700            batch_size  *  num_videos_per_prompt ,
701701            num_channels_latents ,
@@ -709,9 +709,9 @@ def __call__(
709709            last_image ,
710710        )
711711        if  self .config .expand_timesteps :
712-             latents , condition , first_frame_mask  =  prepared_latents 
712+             latents , condition , first_frame_mask  =  latents_outputs 
713713        else :
714-             latents , condition  =  prepared_latents 
714+             latents , condition  =  latents_outputs 
715715
716716        # 6. Denoising loop 
717717        num_warmup_steps  =  len (timesteps ) -  num_inference_steps  *  self .scheduler .order 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments