Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -313,13 +313,13 @@ class PodcastGenerator:
|
|
| 313 |
system_prompt = f"""Create a podcast script
|
| 314 |
|
| 315 |
Requirements:
|
| 316 |
-
- Exactly
|
| 317 |
- The podcast should be long, focusing on the input text
|
| 318 |
- DO NOT copy the example below , only use it as conversation reference
|
| 319 |
- The podcast should be professional, in-depth, lively, witty and engaging, and hook the listener from the start.
|
| 320 |
- The input text might be disorganized or unformatted. Ignore any formatting inconsistencies or irrelevant details; your task is to distill the essential points,
|
| 321 |
- The two-person conversation must be in strictly following format: Each Line always leading with the two speaker names: Speaker 1 or Speaker 2, so each line starts with an "S". No other names allowed, no special characters
|
| 322 |
-
Example, follow this strictly
|
| 323 |
Speaker 1: Hello to our podcast
|
| 324 |
Speaker 2: Thanks to be here
|
| 325 |
Speaker 1: ...
|
|
@@ -742,12 +742,12 @@ def create_interface():
|
|
| 742 |
voice_options = list(VOICE_MAPPING.keys())
|
| 743 |
|
| 744 |
with gr.Blocks(
|
| 745 |
-
title="
|
| 746 |
theme=gr.themes.Soft(),
|
| 747 |
css=".gradio-container {max-width: 1200px; margin: auto;}"
|
| 748 |
) as demo:
|
| 749 |
|
| 750 |
-
gr.Markdown("# 🎙️
|
| 751 |
gr.Markdown("Generate professional 2-speaker podcasts from text input!")
|
| 752 |
|
| 753 |
# Model status indicator
|
|
|
|
| 313 |
system_prompt = f"""Create a podcast script
|
| 314 |
|
| 315 |
Requirements:
|
| 316 |
+
- Exactly two speakers: Speaker 1 and Speaker 2
|
| 317 |
- The podcast should be long, focusing on the input text
|
| 318 |
- DO NOT copy the example below , only use it as conversation reference
|
| 319 |
- The podcast should be professional, in-depth, lively, witty and engaging, and hook the listener from the start.
|
| 320 |
- The input text might be disorganized or unformatted. Ignore any formatting inconsistencies or irrelevant details; your task is to distill the essential points,
|
| 321 |
- The two-person conversation must be in strictly following format: Each Line always leading with the two speaker names: Speaker 1 or Speaker 2, so each line starts with an "S". No other names allowed, no special characters
|
| 322 |
+
Example, follow this strictly, use no hyphens, no * , no dashes etc
|
| 323 |
Speaker 1: Hello to our podcast
|
| 324 |
Speaker 2: Thanks to be here
|
| 325 |
Speaker 1: ...
|
|
|
|
| 742 |
voice_options = list(VOICE_MAPPING.keys())
|
| 743 |
|
| 744 |
with gr.Blocks(
|
| 745 |
+
title="Pasching Podcast 2🎙️",
|
| 746 |
theme=gr.themes.Soft(),
|
| 747 |
css=".gradio-container {max-width: 1200px; margin: auto;}"
|
| 748 |
) as demo:
|
| 749 |
|
| 750 |
+
gr.Markdown("# 🎙️ Pasching Podcast 2")
|
| 751 |
gr.Markdown("Generate professional 2-speaker podcasts from text input!")
|
| 752 |
|
| 753 |
# Model status indicator
|