Update README to include whisper

This commit is contained in:
Fangjun Kuang 2023-11-08 19:31:03 +08:00
parent 01aed93b1b
commit 667e5e12eb

View File

@ -23,6 +23,20 @@ please see <https://github.com/csukuangfj/kaldi-native-fbank>
<th>Usage</th>
</tr>
<tr>
<td>Fbank for <a href="https://github.com/openai/whisper">Whisper</a></td>
<td><code>kaldifeat.WhisperFbankOptions</code></td>
<td><code>kaldifeat.WhisperFbank</code></td>
<td>
<pre lang="python">
opts = kaldifeat.WhisperFbankOptions()
opts.device = torch.device('cuda', 0)
fbank = kaldifeat.WhisperFbank(opts)
features = fbank(wave)
</pre>
</td>
</tr>
<tr>
<td>FBANK</td>
<td><code>kaldifeat.FbankOptions</code></td>