Update README.md
Browse files
README.md
CHANGED
|
@@ -59,9 +59,7 @@ import torch
|
|
| 59 |
import torchaudio
|
| 60 |
|
| 61 |
ecapa2_model = torch.jit.load(model_file, map_location='cuda')
|
| 62 |
-
|
| 63 |
ecapa2_model.half() # optional, but results in faster inference
|
| 64 |
-
|
| 65 |
audio, sr = torchaudio.load('sample.wav') # sample rate of 16 kHz expected
|
| 66 |
|
| 67 |
with torch.no_grad():
|
|
|
|
| 59 |
import torchaudio
|
| 60 |
|
| 61 |
ecapa2_model = torch.jit.load(model_file, map_location='cuda')
|
|
|
|
| 62 |
ecapa2_model.half() # optional, but results in faster inference
|
|
|
|
| 63 |
audio, sr = torchaudio.load('sample.wav') # sample rate of 16 kHz expected
|
| 64 |
|
| 65 |
with torch.no_grad():
|