mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Minor clean
This commit is contained in:
parent
e00157263a
commit
b5f743740e
@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Core.AudioToText
|
||||
{
|
||||
@ -107,6 +106,6 @@ namespace Nikse.SubtitleEdit.Core.AudioToText
|
||||
UrlPrimary = "https://openaipublic.azureedge.net/main/whisper/models/81f7c96c852ee8fc832187b0132e569d6c3065a3252ed18e56effd0b6a73e524/large-v2.pt",
|
||||
UrlSecondary = "https://openaipublic.azureedge.net/main/whisper/models/81f7c96c852ee8fc832187b0132e569d6c3065a3252ed18e56effd0b6a73e524/large-v2.pt",
|
||||
},
|
||||
}.ToArray();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using Nikse.SubtitleEdit.Core.AudioToText;
|
||||
using Nikse.SubtitleEdit.Core.AudioToText;
|
||||
using Nikse.SubtitleEdit.Core.Common;
|
||||
using Nikse.SubtitleEdit.Logic;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
{
|
||||
@ -14,7 +13,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
public bool AutoClose { get; internal set; }
|
||||
public WhisperModel LastDownloadedModel { get; private set; }
|
||||
private readonly CancellationTokenSource _cancellationTokenSource;
|
||||
private bool _error = false;
|
||||
private bool _error;
|
||||
private string _downloadFileName;
|
||||
|
||||
public WhisperModelDownload()
|
||||
|
@ -25796,8 +25796,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
|
||||
private string _lastWrittenAutoBackup = string.Empty;
|
||||
private bool _showAutoBackupError = true;
|
||||
|
||||
private void TimerAutoBackupTick(object sender, EventArgs e)
|
||||
{
|
||||
string currentText = string.Empty;
|
||||
|
Loading…
Reference in New Issue
Block a user