mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Adding translations (#1382)
This commit is contained in:
parent
795da67f20
commit
ca8b7876fd
2 changed files with 4 additions and 1 deletions
|
|
@ -204,7 +204,8 @@ class RecordingTranscriber(QObject):
|
|||
task=self.transcription_options.task.value,
|
||||
initial_prompt=initial_prompt,
|
||||
temperature=self.transcription_options.temperature,
|
||||
no_speech_threshold=0.4
|
||||
no_speech_threshold=0.4,
|
||||
fp16=False,
|
||||
)
|
||||
elif (
|
||||
self.transcription_options.model.model_type
|
||||
|
|
|
|||
|
|
@ -352,6 +352,7 @@ class WhisperFileTranscriber(FileTranscriber):
|
|||
temperature=task.transcription_options.temperature,
|
||||
initial_prompt=task.transcription_options.initial_prompt,
|
||||
no_speech_threshold=0.4,
|
||||
fp16=False,
|
||||
)
|
||||
return [
|
||||
Segment(
|
||||
|
|
@ -371,6 +372,7 @@ class WhisperFileTranscriber(FileTranscriber):
|
|||
temperature=task.transcription_options.temperature,
|
||||
initial_prompt=task.transcription_options.initial_prompt,
|
||||
verbose=False,
|
||||
fp16=False,
|
||||
)
|
||||
segments = result.get("segments")
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue