Commit
•
ada5a5d
1
Parent(s):
42189de
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
|