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.

delete: remove unused prompt

puji48103c57493274de
diff --git a/internal/types/subtitle_task.go b/internal/types/subtitle_task.go
index 042ad481..5e4ed794 100644
--- a/internal/types/subtitle_task.go
+++ b/internal/types/subtitle_task.go
@@ -204,21 +204,6 @@ Use "Previous Sentences" ONLY to understand the context of referents (e.g. prono
**Your output must be literal, minimal, and on a single line. Provide only the translation result:**`
-const SplitTranslatedSentencePrompt = `You are an expert in language alignment. Your task is to split a translated sentence into parts that perfectly correspond to the parts of the original sentence.
-
-Here is the full translated text:
----
-%s
----
-
-Here is how to correctly split the original sentence, please split the translated text in the same way:
----
-%s
----
-
-Please output the result in a JSON array format where each element is a string of the split translated part. For example: {"parts": ["part 1", "part 2", "part 3"]}.
-Ensure the number of parts in your output exactly matches the number of parts in the original sentence split. Do not add any extra explanations.
-`
type SmallAudio struct {
AudioFile string