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: remove whisper prompt

沈浩9e8d87a36834
diff --git a/pkg/whisper/whisper.go b/pkg/whisper/whisper.go
index ca9e80f1..58205b73 100644
--- a/pkg/whisper/whisper.go
+++ b/pkg/whisper/whisper.go
@@ -2,7 +2,6 @@ package whisper
import (
"context"
- "fmt"
"github.com/sashabaranov/go-openai"
"go.uber.org/zap"
"krillin-ai/internal/types"
@@ -21,7 +20,6 @@ func (c *Client) Transcription(audioFile, language, workDir string) (*types.Tran
openai.TranscriptionTimestampGranularityWord,
},
Language: language,
- Prompt: fmt.Sprintf("输出的目标语言:%s,需要输出标点符号。", types.GetStandardLanguageName(types.StandardLanguageCode(language))),
},
)
if err != nil {