Commit
•
6fcee57
1
Parent(s):
faaf572
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
|