kurianbenoy
commited on
Commit
·
24496e6
1
Parent(s):
c30fd2d
Update README.md
Browse files
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="
|
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="
|
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)
|