cdminix commited on
Commit
94d242d
1 Parent(s): 046c945

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -27,9 +27,9 @@ https://github.com/minixc/vocex
27
  from vocex import Vocex
28
  import torchaudio # or any other audio loading library
29
 
30
- model = vocex.from_pretrained('vocex/cdminix') # an fp16 model is loaded by default
31
- model = vocex.from_pretrained('vocex/cdminix', fp16=False) # to load a fp32 model
32
- model = vocex.from_pretrained('some/path/model.ckpt') # to load local checkpoint
33
 
34
  audio = ... # a numpy or torch array is required with shape [batch_size, length_in_samples] or just [length_in_samples]
35
  sample_rate = ... # we need to specify a sample rate if the audio is not sampled at 22050
 
27
  from vocex import Vocex
28
  import torchaudio # or any other audio loading library
29
 
30
+ model = Vocex.from_pretrained('cdminix/vocex') # an fp16 model is loaded by default
31
+ model = Vocex.from_pretrained('cdminix/vocex', fp16=False) # to load a fp32 model
32
+ model = Vocex.from_pretrained('some/path/model.ckpt') # to load local checkpoint
33
 
34
  audio = ... # a numpy or torch array is required with shape [batch_size, length_in_samples] or just [length_in_samples]
35
  sample_rate = ... # we need to specify a sample rate if the audio is not sampled at 22050