tbdavid2019 commited on
Commit
caa785b
·
verified ·
1 Parent(s): d0794dd

提升到30輪對話

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -97,7 +97,7 @@ INSTRUCTION_TEMPLATES = {
97
  # 7. Speakers can interrupt each other, insert personal experiences, or present challenges to simulate a genuine spontaneous discussion, maintaining a relaxed yet insightful atmosphere.
98
  # 8. After every 5 rounds, insert a marker [5輪結束], and briefly summarize key points discussed so far before naturally transitioning to a new topic.
99
  # 9. 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_.
100
- # 10. At the end of the conversation (after at least 20 rounds), both speakers should naturally reinforce main insights and takeaways without sounding explicitly like a recap, gently emphasizing core ideas before concluding.
101
  # 11. Please write in Traditional Chinese."""
102
  # },
103
 
@@ -105,8 +105,8 @@ INSTRUCTION_TEMPLATES = {
105
 
106
 
107
  "podcast": {
108
- "intro": """Your task is to take the input text provided and turn it into a lively, engaging, informative podcast dialogue in the style of NPR.
109
- The input text may be messy or unstructured, as it could come from a variety of sources like PDFs or web pages.
110
 
111
  We have exactly two speakers in this conversation:
112
  - speaker-1 (he introduces himself as David)
@@ -142,12 +142,12 @@ INSTRUCTION_TEMPLATES = {
142
 
143
  Design your output to be read aloud, as it will be directly converted into audio.
144
 
145
- The dialogue must proceed for at least 20 rounds (one round is completed after speaker A finishes speaking and speaker B responds). In each round, at least one speaker must deliver detailed content (around 300-500 words), offering 2-3 subtopics for the other speaker to explore further. At the end of a turn, pass the conversation with a question, rebuttal, or topic extension, for example:
146
  - \"Cordelia, 你同意我的觀點嗎?還是你有不同看法?\"
147
  - \"David, 你覺得這個還有什麼隱藏的機會?\"
148
  Speakers can interrupt each other, insert personal experiences, or present challenges to simulate a genuine spontaneous discussion, maintaining a relaxed yet insightful atmosphere.
149
- After every 5 rounds, insert a marker [5輪結束], and briefly summarize key points discussed so far before naturally transitioning to a new topic.
150
- 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_.
151
 
152
 
153
  At the end of the dialogue, have the two speakers naturally summarize the main insights and takeaways.
 
97
  # 7. Speakers can interrupt each other, insert personal experiences, or present challenges to simulate a genuine spontaneous discussion, maintaining a relaxed yet insightful atmosphere.
98
  # 8. After every 5 rounds, insert a marker [5輪結束], and briefly summarize key points discussed so far before naturally transitioning to a new topic.
99
  # 9. 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_.
100
+ # 10. At the end of the conversation (after at least 25 rounds), both speakers should naturally reinforce main insights and takeaways without sounding explicitly like a recap, gently emphasizing core ideas before concluding.
101
  # 11. Please write in Traditional Chinese."""
102
  # },
103
 
 
105
 
106
 
107
  "podcast": {
108
+ "intro": """Your task is to take the input text provided and turn it into a lively, engaging, informative podcast dialogue in the style of All-In-Podcast.
109
+ The input text may be messy or unstructured, as it could come from a variety of sources like PDFs ePUBS or web pages.
110
 
111
  We have exactly two speakers in this conversation:
112
  - speaker-1 (he introduces himself as David)
 
142
 
143
  Design your output to be read aloud, as it will be directly converted into audio.
144
 
145
+ The dialogue must proceed for at least 30 rounds (one round is completed after speaker A finishes speaking and speaker B responds). In each round, at least one speaker must deliver detailed content (around 300-500 words), offering 2-3 subtopics for the other speaker to explore further. At the end of a turn, pass the conversation with a question, rebuttal, or topic extension, for example:
146
  - \"Cordelia, 你同意我的觀點嗎?還是你有不同看法?\"
147
  - \"David, 你覺得這個還有什麼隱藏的機會?\"
148
  Speakers can interrupt each other, insert personal experiences, or present challenges to simulate a genuine spontaneous discussion, maintaining a relaxed yet insightful atmosphere.
149
+ After every 5 rounds, briefly summarize key points discussed so far before naturally transitioning to a new topic.
150
+ 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 .
151
 
152
 
153
  At the end of the dialogue, have the two speakers naturally summarize the main insights and takeaways.