mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Add OpenAI Whisper large-v3 model
This commit is contained in:
parent
edae789024
commit
ceb826fe58
@ -34,7 +34,7 @@ namespace Nikse.SubtitleEdit.Core.AudioToText
|
|||||||
}
|
}
|
||||||
|
|
||||||
// See https://github.com/openai/whisper/blob/main/whisper/__init__.py
|
// See https://github.com/openai/whisper/blob/main/whisper/__init__.py
|
||||||
public WhisperModel[] Models => new[]
|
public WhisperModel[] Models => new[]
|
||||||
{
|
{
|
||||||
new WhisperModel
|
new WhisperModel
|
||||||
{
|
{
|
||||||
@ -92,10 +92,16 @@ namespace Nikse.SubtitleEdit.Core.AudioToText
|
|||||||
//},
|
//},
|
||||||
new WhisperModel
|
new WhisperModel
|
||||||
{
|
{
|
||||||
Name = "large", // large-v2
|
Name = "large", // large-v3
|
||||||
Size = "2.9 GB",
|
Size = "2.9 GB",
|
||||||
Urls = new []{ "https://openaipublic.azureedge.net/main/whisper/models/81f7c96c852ee8fc832187b0132e569d6c3065a3252ed18e56effd0b6a73e524/large-v2.pt" },
|
Urls = new []{ "https://openaipublic.azureedge.net/main/whisper/models/e5b1a55b89c1367dacf97e3e19bfd829a01529dbfdeefa8caeb59b3f1b81dadb/large-v3.pt" },
|
||||||
},
|
},
|
||||||
|
//new WhisperModel
|
||||||
|
//{
|
||||||
|
// Name = "large", // large-v2
|
||||||
|
// Size = "2.9 GB",
|
||||||
|
// Urls = new []{ "https://openaipublic.azureedge.net/main/whisper/models/81f7c96c852ee8fc832187b0132e569d6c3065a3252ed18e56effd0b6a73e524/large-v2.pt" },
|
||||||
|
//},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user