 for UNet2DConditionModel shape (batch_size, seq_length, cross_attention_dim)


return_dict (bool) — if True return AudioPipelineOutput, ImagePipelineOutput else Tuple


Returns

List[PIL Image]



mel spectrograms (float, List[np.ndarray]): sample rate and raw audios


Generate random mel spectrogram from audio input and convert to audio.

encode

<
source
>
(
images: typing.List[PIL.Image.Image]
steps: int = 50

)
→
np.ndarray

Parameters 

i