HKUST-Audio
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,8 @@ wav_tensor = torch.from_numpy(wav).float().unsqueeze(0)
|
|
46 |
|
47 |
|
48 |
with torch.no_grad():
|
49 |
-
#
|
|
|
50 |
vq_code = model.encode_code(input_waveform=wav_tensor)
|
51 |
print("Code:", vq_code )
|
52 |
|
|
|
46 |
|
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 |
|