From ada5a5d516772e41f9aeb0f984df6ecc4620001f Mon Sep 17 00:00:00 2001 From: Sanchit Gandhi Date: Mon, 6 Feb 2023 17:06:25 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 90c4a14..f704390 100644 --- a/README.md +++ b/README.md @@ -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