mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-06-04 06:52:25 +00:00
Adding translations (#1382)
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user