Skip to content

Commit 49f146d

Browse files
committed
Adding translations
1 parent 795da67 commit 49f146d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

buzz/transcriber/recording_transcriber.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ def start(self):
204204
task=self.transcription_options.task.value,
205205
initial_prompt=initial_prompt,
206206
temperature=self.transcription_options.temperature,
207-
no_speech_threshold=0.4
207+
no_speech_threshold=0.4,
208+
fp16=False,
208209
)
209210
elif (
210211
self.transcription_options.model.model_type

buzz/transcriber/whisper_file_transcriber.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ def patched_torch_load(*args, **kwargs):
352352
temperature=task.transcription_options.temperature,
353353
initial_prompt=task.transcription_options.initial_prompt,
354354
no_speech_threshold=0.4,
355+
fp16=False,
355356
)
356357
return [
357358
Segment(
@@ -371,6 +372,7 @@ def patched_torch_load(*args, **kwargs):
371372
temperature=task.transcription_options.temperature,
372373
initial_prompt=task.transcription_options.initial_prompt,
373374
verbose=False,
375+
fp16=False,
374376
)
375377
segments = result.get("segments")
376378
return [

0 commit comments

Comments
 (0)