mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Work on whisper/linux
This commit is contained in:
parent
d8fdbb0631
commit
9412e3418a
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user