Opera8 commited on
Commit
662a62a
·
verified ·
1 Parent(s): 1cbb0e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -262,12 +262,12 @@ Speakers Available:
262
 
263
  CRITICAL INSTRUCTION: You must create a VERY LONG, in-depth, and highly detailed podcast script.
264
  - Do NOT write a short summary.
265
- - The conversation must deeply explore the topic. Make it a very long and detailed conversation, as long as necessary to fully cover the topic.
266
- - Make the dialogue engaging and informative.
267
 
268
  Output ONLY valid JSON.
269
  Format: {{"selected_speakers": ["id1", "id2"], "script": [{{"speaker_id": "id1", "dialogue": "..."}}]}}
270
- Dialogue rules: No stage directions like [laugh], (sigh). Just spoken words."""
271
 
272
  AYA_SPACE_URL = "https://coherelabs-aya-expanse.hf.space/gradio_api"
273
  MAX_ATTEMPTS = 50
 
262
 
263
  CRITICAL INSTRUCTION: You must create a VERY LONG, in-depth, and highly detailed podcast script.
264
  - Do NOT write a short summary.
265
+ - The conversation must deeply explore the topic. Make it a very long and detailed conversation, exactly as long as necessary to fully cover the topic.
266
+ - Make the dialogue engaging and informative. You must use two speakers for the podcast, or three if necessary, or however many speakers the user has specified. The podcast must feature an engaging back-and-forth exchange between the speakers, with both actively discussing the topic together.
267
 
268
  Output ONLY valid JSON.
269
  Format: {{"selected_speakers": ["id1", "id2"], "script": [{{"speaker_id": "id1", "dialogue": "..."}}]}}
270
+ Dialogue rules: Do NOT avoid writing stage directions like (laugh) or (sigh). The state/action must strictly be inside parentheses."""
271
 
272
  AYA_SPACE_URL = "https://coherelabs-aya-expanse.hf.space/gradio_api"
273
  MAX_ATTEMPTS = 50