mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
A bit more checking of Whisper errors
This commit is contained in:
parent
849b6a00f5
commit
6840c360f3
@ -1116,10 +1116,18 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
{
|
||||
UnknownArgument = true;
|
||||
}
|
||||
else if (outLine.Data.Contains("error: unknown arguments: ", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
UnknownArgument = true;
|
||||
}
|
||||
else if (outLine.Data.Contains("error: unrecognized argument: ", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
UnknownArgument = true;
|
||||
}
|
||||
else if (outLine.Data.Contains("error: unrecognized arguments: ", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
UnknownArgument = true;
|
||||
}
|
||||
|
||||
if (outLine.Data.Contains("running on: CUDA", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user