Hello in diffusers docs, MusicLDM is used as follow
from diffusers import MusicLDMPipeline
import torch
import scipy
repo_id = "cvssp/audioldm-s-full-v2"
pipe = MusicLDMPipeline.from_pretrained(repo_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "Techno music with a strong, upbeat tempo and high melodic riffs"
audio = pipe(prompt, num_inference_steps=10, audio_length_in_s=5.0).audios[0]
# save the audio sample as a .wav file
scipy.io.wavfile.write("techno.wav", rate=16000, data=audio)
But pretrained_path is AudioLDM and seem that is can not be loaded in MusicLDM.
How can I use pretrained of MusicLDM?
Hello in diffusers docs, MusicLDM is used as follow
But
pretrained_path
is AudioLDM and seem that is can not be loaded in MusicLDM. How can I use pretrained of MusicLDM?