Jenthe commited on
Commit
bb26974
·
1 Parent(s): ff8cd12

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -42,7 +42,7 @@ model_file = hf_hub_download(repo_id='Jenthe/ECAPA2', filename='model.pt')
42
  # change map_location to 'cuda' for GPU inference (recommended)
43
  ecapa2_model = torch.jit.load(model_file, map_location='cpu')
44
 
45
- # input audio should have a sample rate of 16 kHz
46
  audio, sr = torchaudio.load('sample.wav')
47
  embedding = ecapa2_model(audio)
48
  ```
 
42
  # change map_location to 'cuda' for GPU inference (recommended)
43
  ecapa2_model = torch.jit.load(model_file, map_location='cpu')
44
 
45
+ # note: input audio should have a sample rate of 16 kHz
46
  audio, sr = torchaudio.load('sample.wav')
47
  embedding = ecapa2_model(audio)
48
  ```