Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ from faster_whisper import WhisperModel
|
|
26 |
|
27 |
model = WhisperModel("kotoba-tech/kotoba-whisper-v1.0-faster")
|
28 |
|
29 |
-
segments, info = model.transcribe("sample_ja_speech.wav")
|
30 |
for segment in segments:
|
31 |
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
|
32 |
```
|
|
|
26 |
|
27 |
model = WhisperModel("kotoba-tech/kotoba-whisper-v1.0-faster")
|
28 |
|
29 |
+
segments, info = model.transcribe("sample_ja_speech.wav", language="ja", chunk_length=15, condition_on_previous_text=False)
|
30 |
for segment in segments:
|
31 |
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
|
32 |
```
|