Make Purfview's Faster-Whisper default on Windows

This commit is contained in:
niksedk 2023-08-19 12:50:04 +02:00
parent f667d7070c
commit 2be4b19985
2 changed files with 4 additions and 7 deletions

View File

@ -668,7 +668,7 @@ namespace Nikse.SubtitleEdit.Core.Common
GenVideoNonAssaBoxColor = Color.FromArgb(150, 0, 0, 0);
GenVideoNonAssaTextColor = Color.White;
VoskPostProcessing = true;
WhisperChoice = Configuration.IsRunningOnWindows ? AudioToText.WhisperChoice.Cpp : AudioToText.WhisperChoice.OpenAi;
WhisperChoice = Configuration.IsRunningOnWindows ? AudioToText.WhisperChoice.PurfviewFasterWhisper : AudioToText.WhisperChoice.OpenAi;
WhisperDeleteTempFiles = true;
WhisperExtraSettings = "";
WhisperLanguageCode = "en";

View File

@ -132,16 +132,13 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
public static void InitializeWhisperEngines(NikseComboBox cb)
{
cb.Items.Clear();
var engines = new List<string>
{
WhisperChoice.OpenAi,
WhisperChoice.Cpp
};
var engines = new List<string> { WhisperChoice.OpenAi };
if (Configuration.IsRunningOnWindows)
{
engines.Add(WhisperChoice.ConstMe);
engines.Add(WhisperChoice.PurfviewFasterWhisper);
engines.Add(WhisperChoice.ConstMe);
}
engines.Add(WhisperChoice.Cpp);
engines.Add(WhisperChoice.CTranslate2);
// engines.Add(WhisperChoice.StableTs);
engines.Add(WhisperChoice.WhisperX);