sanchit-gandhi HF staff commited on
Commit
74d3cae
1 Parent(s): dcbf596

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -177,7 +177,7 @@ predict utterance level timestamps by passing `return_timestamps=True`:
177
  >>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
178
  >>> sample = ds[0]["audio"]
179
 
180
- >>> prediction = pipe(sample)["text"]
181
  " Mr. Quilter is the apostle of the middle classes, and we are glad to welcome his gospel."
182
 
183
  >>> # we can also return timestamps for the predictions
 
177
  >>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
178
  >>> sample = ds[0]["audio"]
179
 
180
+ >>> prediction = pipe(sample.copy())["text"]
181
  " Mr. Quilter is the apostle of the middle classes, and we are glad to welcome his gospel."
182
 
183
  >>> # we can also return timestamps for the predictions