Commit
•
3386a58
1
Parent(s):
5815f0e
Update README.md
Browse files
README.md
CHANGED
@@ -371,7 +371,7 @@ predict utterance level timestamps by passing `return_timestamps=True`:
|
|
371 |
>>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
|
372 |
>>> sample = ds[0]["audio"]
|
373 |
|
374 |
-
>>> prediction = pipe(sample)["text"]
|
375 |
" Mr. Quilter is the apostle of the middle classes, and we are glad to welcome his gospel."
|
376 |
|
377 |
>>> # we can also return timestamps for the predictions
|
|
|
371 |
>>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
|
372 |
>>> sample = ds[0]["audio"]
|
373 |
|
374 |
+
>>> prediction = pipe(sample.copy())["text"]
|
375 |
" Mr. Quilter is the apostle of the middle classes, and we are glad to welcome his gospel."
|
376 |
|
377 |
>>> # we can also return timestamps for the predictions
|