File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
src/transformers/models/qwen2_5_omni Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,15 +172,15 @@ def __call__(
172172            audio_lengths  =  iter ([])
173173
174174        if  images  is  not   None :
175-             images_inputs  =  self .image_processor (images = images , videos = None ,  ** output_kwargs ["images_kwargs" ])
175+             images_inputs  =  self .image_processor (images = images , ** output_kwargs ["images_kwargs" ])
176176            image_grid_thw  =  iter (images_inputs ["image_grid_thw" ])
177177        else :
178178            images_inputs  =  {}
179179            image_grid_thw  =  iter ([])
180180
181181        if  videos  is  not   None :
182182            videos  =  make_batched_videos (videos )
183-             videos_inputs  =  self .video_processor (images = None ,  videos = videos , ** output_kwargs ["videos_kwargs" ])
183+             videos_inputs  =  self .video_processor (videos = videos , ** output_kwargs ["videos_kwargs" ])
184184            fps  =  [fps ] *  len (videos )
185185            videos_inputs ["video_second_per_grid" ] =  [
186186                self .video_processor .temporal_patch_size  /  fps [i ] for  i  in  range (len (fps ))
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments