RASMUS commited on
Commit
a8fe0f0
1 Parent(s): ac5c17c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -6,13 +6,13 @@ tags:
6
  - speech-recognition
7
  ---
8
 
9
- <h3> Repo for files to be used with faster-whisper (Tested with versio 0.10) </h3>
10
  ```python
11
  import faster_whisper
12
  model = faster_whisper.WhisperModel("Finnish-NLP/whisper-large-finnish-v3-ct2")
13
  print("model loaded")
14
 
15
- segments, info = model.transcribe(audio_path, word_timestamps=True, beam_size=5, language='fi')
16
 
17
  for segment in segments:
18
  for word in segment.words:
 
6
  - speech-recognition
7
  ---
8
 
9
+
10
  ```python
11
  import faster_whisper
12
  model = faster_whisper.WhisperModel("Finnish-NLP/whisper-large-finnish-v3-ct2")
13
  print("model loaded")
14
 
15
+ segments, info = model.transcribe(audio_path, word_timestamps=True, beam_size=5, language="fi")
16
 
17
  for segment in segments:
18
  for word in segment.words: