Work on whisper/linux

This commit is contained in:
niksedk 2022-11-12 17:49:53 +01:00
parent d8fdbb0631
commit 9412e3418a

View File

@ -132,7 +132,7 @@ namespace Nikse.SubtitleEdit.Core.AudioToText
public static string GetWhisperModelForCmdLine(string model)
{
if (Configuration.IsRunningOnWindows && Configuration.Settings.Tools.UseWhisperCpp)
if (Configuration.Settings.Tools.UseWhisperCpp)
{
return Path.Combine(GetWhisperModel().ModelFolder, model + ModelExtension());
}