Update README.md
Browse files26 unmodified lines27282930313233343526 unmodified linesfrom vocex import Voceximport torchaudio # or any other audio loading librarymodel = vocex.from_pretrained('vocex/cdminix') # an fp16 model is loaded by defaultmodel = vocex.from_pretrained('vocex/cdminix', fp16=False) # to load a fp32 modelmodel = vocex.from_pretrained('some/path/model.ckpt') # to load local checkpointaudio = ... # a numpy or torch array is required with shape [batch_size, length_in_samples] or just [length_in_samples]sample_rate = ... # we need to specify a sample rate if the audio is not sampled at 2205026 unmodified lines27282930313233343526 unmodified linesfrom vocex import Voceximport torchaudio # or any other audio loading librarymodel = Vocex.from_pretrained('cdminix/vocex') # an fp16 model is loaded by defaultmodel = Vocex.from_pretrained('cdminix/vocex', fp16=False) # to load a fp32 modelmodel = Vocex.from_pretrained('some/path/model.ckpt') # to load local checkpointaudio = ... # a numpy or torch array is required with shape [batch_size, length_in_samples] or just [length_in_samples]sample_rate = ... # we need to specify a sample rate if the audio is not sampled at 22050
README.md+3-3