qmeeus commited on
Commit
b1b0998
1 Parent(s): 10c4eba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -44,7 +44,7 @@ def iter_chunks(waveform, sampling_rate=16_000, chunk_length=30.):
44
  end = min(len(waveform), start + n_frames)
45
  yield waveform[start:end]
46
 
47
- for sentence in whisper_asr(iter_chunks(waveform, sr)):
48
  print(sentence["text"])
49
 
50
  ```
 
44
  end = min(len(waveform), start + n_frames)
45
  yield waveform[start:end]
46
 
47
+ for sentence in whisper_asr(iter_chunks(waveform, sr), max_new_tokens=448):
48
  print(sentence["text"])
49
 
50
  ```