1, optimize the subtitle generation in edge mode

2, optimize the llm prompt, use the same language as the video subject
This commit is contained in:
harry
2024-03-24 17:50:50 +08:00
parent 296a1370d3
commit b471a272b6
4 changed files with 20 additions and 9 deletions

View File

@@ -77,13 +77,13 @@ Generate a script for a video, depending on the subject of the video.
5. only return the raw content of the script.
6. do not include "voiceover", "narrator" or similar indicators of what should be spoken at the beginning of each paragraph or line.
7. you must not mention the prompt, or anything about the script itself. also, never talk about the amount of paragraphs or lines. just write the script.
8. respond in the same language as the video subject.
## Output Example:
What is the meaning of life. This question has puzzled philosophers.
# Initialization:
- video subject: {video_subject}
- output language: {language}
- number of paragraphs: {paragraph_number}
""".strip()