Add "preprocessor_config.json" file download

This commit is contained in:
Nikolaj Olsson 2023-12-21 18:16:07 +01:00
parent e0580aa591
commit 1c9fb10b53

View File

@ -17,7 +17,7 @@ namespace Nikse.SubtitleEdit.Core.AudioToText
return $"{(AlreadyDownloaded ? "* " : string.Empty)}{Name} ({Size})";
}
private readonly string[] _fileNames = { "model.bin", "config.json", "vocabulary.txt", "vocabulary.json", "tokenizer.json" };
private readonly string[] _fileNames = { "model.bin", "config.json", "vocabulary.txt", "vocabulary.json", "tokenizer.json", "preprocessor_config.json" };
public string ModelFolder => Path.Combine(Configuration.DataDirectory, "Whisper", "Purfview-Whisper-Faster", "_models");