Update README.md

This commit is contained in:
Sanchit Gandhi 2023-02-06 17:06:25 +00:00 committed by huggingface-web
parent 42189dea11
commit ada5a5d516
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ predict utterance level timestamps by passing `return_timestamps=True`:
>>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
>>> sample = ds[0]["audio"]
>>> prediction = pipe(sample)["text"]
>>> prediction = pipe(sample.copy())["text"]
" Mr. Quilter is the apostle of the middle classes, and we are glad to welcome his gospel."
>>> # we can also return timestamps for the predictions