mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Work on #8973
This commit is contained in:
parent
8242651290
commit
d6a23a67c6
@ -685,7 +685,7 @@ namespace Nikse.SubtitleEdit.Core.Settings
|
|||||||
VoskPostProcessing = true;
|
VoskPostProcessing = true;
|
||||||
WhisperChoice = Configuration.IsRunningOnWindows ? AudioToText.WhisperChoice.PurfviewFasterWhisper : AudioToText.WhisperChoice.OpenAi;
|
WhisperChoice = Configuration.IsRunningOnWindows ? AudioToText.WhisperChoice.PurfviewFasterWhisper : AudioToText.WhisperChoice.OpenAi;
|
||||||
WhisperDeleteTempFiles = true;
|
WhisperDeleteTempFiles = true;
|
||||||
WhisperPurfviewFasterWhisperDefaultCmd = "--standard";
|
WhisperPurfviewFasterWhisperDefaultCmd = "--standard --beep_off";
|
||||||
WhisperExtraSettings = "";
|
WhisperExtraSettings = "";
|
||||||
WhisperLanguageCode = "en";
|
WhisperLanguageCode = "en";
|
||||||
WhisperAutoAdjustTimings = true;
|
WhisperAutoAdjustTimings = true;
|
||||||
|
@ -2318,7 +2318,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
|||||||
}
|
}
|
||||||
else if ((engine == WhisperChoice.PurfviewFasterWhisper || engine == WhisperChoice.PurfviewFasterWhisperXXL) &&
|
else if ((engine == WhisperChoice.PurfviewFasterWhisper || engine == WhisperChoice.PurfviewFasterWhisperXXL) &&
|
||||||
!Configuration.Settings.Tools.WhisperExtraSettings.Contains("--standard", StringComparison.Ordinal) &&
|
!Configuration.Settings.Tools.WhisperExtraSettings.Contains("--standard", StringComparison.Ordinal) &&
|
||||||
Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd == "--standard")
|
Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd == "--standard --beep_off")
|
||||||
{
|
{
|
||||||
Configuration.Settings.Tools.WhisperExtraSettings = Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd;
|
Configuration.Settings.Tools.WhisperExtraSettings = Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user