asahi417 commited on
Commit
5417738
1 Parent(s): 46153f4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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
  ```