Automatic Speech Recognition
Malayalam
ctranslate2
audio
vegam
kurianbenoy commited on
Commit
24496e6
·
1 Parent(s): c30fd2d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -52,7 +52,7 @@ from faster_whisper import WhisperModel
52
  model_path = "vegam-whisper-medium-ml-int16"
53
 
54
  # Run on GPU with FP16
55
- model = WhisperModel(model_path, device="cuda", compute_type="float16")
56
 
57
  segments, info = model.transcribe("audio.mp3", beam_size=5)
58
 
@@ -69,7 +69,7 @@ from faster_whisper import WhisperModel
69
 
70
  model_path = "vegam-whisper-medium-ml-int16"
71
 
72
- model = WhisperModel(model_path, device="cuda", compute_type="float16")
73
 
74
 
75
  segments, info = model.transcribe("00b38e80-80b8-4f70-babf-566e848879fc.webm", beam_size=5)
 
52
  model_path = "vegam-whisper-medium-ml-int16"
53
 
54
  # Run on GPU with FP16
55
+ model = WhisperModel(model_path, device="cpu", compute_type="int16")
56
 
57
  segments, info = model.transcribe("audio.mp3", beam_size=5)
58
 
 
69
 
70
  model_path = "vegam-whisper-medium-ml-int16"
71
 
72
+ model = WhisperModel(model_path, device="cpu", compute_type="int16")
73
 
74
 
75
  segments, info = model.transcribe("00b38e80-80b8-4f70-babf-566e848879fc.webm", beam_size=5)