We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a1051 commit aed636fCopy full SHA for aed636f
tests/pipelines/audioldm2/test_audioldm2.py
@@ -138,10 +138,8 @@ def get_dummy_components(self):
138
patch_stride=2,
139
patch_embed_input_channels=4,
140
)
141
- text_encoder_config = ClapConfig.from_text_audio_configs(
142
- text_config=text_branch_config,
143
- audio_config=audio_branch_config,
144
- projection_dim=16,
+ text_encoder_config = ClapConfig(
+ text_config=text_branch_config, audio_config=audio_branch_config, projection_dim=16
145
146
text_encoder = ClapModel(text_encoder_config)
147
tokenizer = RobertaTokenizer.from_pretrained("hf-internal-testing/tiny-random-roberta", model_max_length=77)
0 commit comments