Spaces:
Running
on
Zero
Running
on
Zero
back to vanilla
Browse files
memo/models/motion_module.py
CHANGED
@@ -369,12 +369,11 @@ class MemoryLinearAttention(Attention):
|
|
369 |
raise NotImplementedError
|
370 |
|
371 |
|
372 |
-
#cross_attention_kwargs.pop("encoder_hidden_states", None) # Extra safety
|
373 |
hidden_states = self.processor(
|
374 |
self,
|
375 |
hidden_states,
|
376 |
motion_frames,
|
377 |
-
encoder_hidden_states,
|
378 |
attention_mask=attention_mask,
|
379 |
n_motion_frames=n_motion_frames,
|
380 |
is_new_audio=is_new_audio,
|
|
|
369 |
raise NotImplementedError
|
370 |
|
371 |
|
|
|
372 |
hidden_states = self.processor(
|
373 |
self,
|
374 |
hidden_states,
|
375 |
motion_frames,
|
376 |
+
encoder_hidden_states=encoder_hidden_states,
|
377 |
attention_mask=attention_mask,
|
378 |
n_motion_frames=n_motion_frames,
|
379 |
is_new_audio=is_new_audio,
|