Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

fix: mistake in faster whisper config verification

沈浩c3848774219a
diff --git a/config/config.go b/config/config.go
index 7e929ec1..83855733 100644
--- a/config/config.go
+++ b/config/config.go
@@ -73,7 +73,7 @@ func LoadConfig(filePath string) error {
return err
}
if Conf.App.TranscribeProvider == "fasterwhisper" {
- if Conf.LocalModel.FasterWhisper != "tiny" {
+ if Conf.LocalModel.FasterWhisper != "tiny" && Conf.LocalModel.FasterWhisper != "medium" && Conf.LocalModel.FasterWhisper != "large-v2" {
return errors.New("检测到开启了fasterwhisper,但模型选型配置不正确,请检查配置")
}
}