linoyts HF Staff commited on
Commit
bb7ed62
·
verified ·
1 Parent(s): 8cb8a87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -276,15 +276,15 @@ class AudioConditionedICLoraPipeline(ICLoraPipeline):
276
  )
277
 
278
  stage_2_output_shape = VideoPixelShape(batch=1, frames=num_frames, width=width, height=height, fps=frame_rate)
279
- stage_2_conditionings = self._create_conditionings(
280
  images=images,
281
  #video_conditioning=video_conditioning,
282
  height=stage_2_output_shape.height,
283
  width=stage_2_output_shape.width,
284
  video_encoder=video_encoder,
285
- num_frames=num_frames,
286
- conditioning_attention_strength=conditioning_attention_strength,
287
- conditioning_attention_mask=conditioning_attention_mask,
288
  )
289
 
290
  video_state, audio_state = denoise_audio_video(
 
276
  )
277
 
278
  stage_2_output_shape = VideoPixelShape(batch=1, frames=num_frames, width=width, height=height, fps=frame_rate)
279
+ stage_2_conditionings = self.combined_image_conditionings(
280
  images=images,
281
  #video_conditioning=video_conditioning,
282
  height=stage_2_output_shape.height,
283
  width=stage_2_output_shape.width,
284
  video_encoder=video_encoder,
285
+ # num_frames=num_frames,
286
+ # conditioning_attention_strength=conditioning_attention_strength,
287
+ # conditioning_attention_mask=conditioning_attention_mask,
288
  )
289
 
290
  video_state, audio_state = denoise_audio_video(