Skip to content

Commit a9c77db

Browse files
pcuencaosanseviero
andauthored
ASR: typo fix from #724 (#727)
and minor nits. --------- Co-authored-by: Omar Sanseviero <[email protected]>
1 parent d2d6220 commit a9c77db

File tree

1 file changed

+2
-2
lines changed
  • packages/tasks/src/tasks/automatic-speech-recognition

1 file changed

+2
-2
lines changed

packages/tasks/src/tasks/automatic-speech-recognition/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def query(filename):
3636
data = query("sample1.flac")
3737
```
3838

39-
You can also use[huggingface.js](https://github.com/huggingface/huggingface.js), the JavaScript client, to transcribe models with the Inference API.
39+
You can also use [huggingface.js](https://github.com/huggingface/huggingface.js), the JavaScript client, to transcribe audio with the Serverless Inference API.
4040

4141
```javascript
4242
import { HfInference } from "@huggingface/inference";
@@ -48,7 +48,7 @@ await inference.automaticSpeechRecognition({
4848
});
4949
```
5050

51-
For transformers compatible models like Whisper, Wav2Vec2, HuBERT, etc. You can also run inference in Python using transformers as follows:
51+
For transformers-compatible models like Whisper, Wav2Vec2, and HuBERT, you can also run inference with the library as follows:
5252

5353
```python
5454
# pip install --upgrade transformers

0 commit comments

Comments
 (0)