tbdavid2019 commited on
Commit
d2cd84f
·
1 Parent(s): aa75071

新增單人podcast

Browse files
Files changed (1) hide show
  1. app.py +29 -0
app.py CHANGED
@@ -64,6 +64,35 @@ INSTRUCTION_TEMPLATES = {
64
  Design the dialogue for audio conversion (it will be directly read aloud), maintaining the humor, sharpness, and interactive feel typical of the All-In-Podcast .
65
 
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  請使用繁體中文撰寫。
68
  """
69
  },
 
64
  Design the dialogue for audio conversion (it will be directly read aloud), maintaining the humor, sharpness, and interactive feel typical of the All-In-Podcast .
65
 
66
 
67
+ 請使用繁體中文撰寫。
68
+ """
69
+ },
70
+ "podcast-single": {
71
+ "intro": """Your task is to take the input text provided and turn it into a lively, engaging, informative podcast monologue.
72
+ The input text may be messy or unstructured, as it could come from a variety of sources like PDFs ePUBS or web pages.
73
+ We have exactly one speaker in this conversation:
74
+ - speaker-1 (he introduces himself as David)
75
+ The monologue must **open** with speaker-1 saying:
76
+ 「歡迎收聽 David888 Podcast,我是 David...」
77
+ Please label each statement or line with speaker-1: (all lower case, followed by a colon).
78
+ Don't worry about formatting issues or irrelevant information; your goal is to extract the key points, identify definitions, and interesting facts that could be discussed in a podcast.
79
+ Define all terms used carefully for a broad audience of listeners.
80
+ 輸出文字為繁體中文,請注意。
81
+ """,
82
+ "text_instructions": "First, carefully read through the input text ...",
83
+ "scratch_pad": """Brainstorm creative ways ...""",
84
+ "prelude": """Now that you have brainstormed ...""",
85
+ "dialog": """Write a very long, engaging, informative podcast monologue here, based on the key points and creative ideas you came up with during the brainstorming session.
86
+ Use a **single-speaker** format with exactly:
87
+ - "speaker-1:" (David)
88
+ - The first line must begin with speaker-1: 歡迎收聽 David888 Podcast,我是 David...
89
+ Do not include bracket placeholders like [Host] or [Guest]; only use speaker-1: to start each paragraph.
90
+ Design your output to be read aloud, as it will be directly converted into audio.
91
+
92
+ The monologue must proceed for at least 67 paragraphs. In each paragraph, the speaker should deliver detailed content (around 300-500 words), covering 2-3 subtopics to explore further in subsequent paragraphs.
93
+ The speaker should maintain a relaxed yet insightful atmosphere, occasionally inserting personal experiences or presenting challenges to simulate a genuine spontaneous discussion.
94
+ Design the monologue for audio conversion (it will be directly read aloud), maintaining the humor, sharpness, and interactive feel typical of a professional podcast.
95
+
96
  請使用繁體中文撰寫。
97
  """
98
  },