carmi commited on
Commit
84fae40
·
verified ·
1 Parent(s): b812d72

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -41,7 +41,7 @@ The model is compatible with 16kHz audio input. Ensure your files are at the sam
41
  Will save a .vtt file with transcriptions and timestamps in audio_dir:
42
  ```python
43
  python transcriber.py --model_path path/to/model --audio_dir path/to/audio --word_timestamps True --vad_filter True
44
-
45
  or:
46
 
47
  To visualize printed transcriptions:
@@ -60,4 +60,5 @@ with torch.no_grad():
60
  for word in segment.words:
61
  print("[%.2fs -> %.2fs] %s" % (word.start, word.end, word.word))
62
 
63
- transcript = ' '.join(s.text for s in segments)
 
 
41
  Will save a .vtt file with transcriptions and timestamps in audio_dir:
42
  ```python
43
  python transcriber.py --model_path path/to/model --audio_dir path/to/audio --word_timestamps True --vad_filter True
44
+ ```
45
  or:
46
 
47
  To visualize printed transcriptions:
 
60
  for word in segment.words:
61
  print("[%.2fs -> %.2fs] %s" % (word.start, word.end, word.word))
62
 
63
+ transcript = ' '.join(s.text for s in segments)
64
+ ```