Update README.md
Browse files
README.md
CHANGED
|
@@ -47,7 +47,7 @@ wav_tensor = torch.from_numpy(wav).float().unsqueeze(0)
|
|
| 47 |
|
| 48 |
with torch.no_grad():
|
| 49 |
# Only 16khz speech
|
| 50 |
-
|
| 51 |
vq_code = model.encode_code(input_waveform=wav_tensor)
|
| 52 |
print("Code:", vq_code )
|
| 53 |
|
|
|
|
| 47 |
|
| 48 |
with torch.no_grad():
|
| 49 |
# Only 16khz speech
|
| 50 |
+
# Only supports single input. For batch inference, please refer to the link below.
|
| 51 |
vq_code = model.encode_code(input_waveform=wav_tensor)
|
| 52 |
print("Code:", vq_code )
|
| 53 |
|