Update README.md
Browse files
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 |
```
|