ngxson HF Staff commited on
Commit
d249fc8
·
1 Parent(s): 8594738
Files changed (2) hide show
  1. front/src/utils/prompts.ts +0 -2
  2. index.html +6 -2
front/src/utils/prompts.ts CHANGED
@@ -45,8 +45,6 @@ The output text will be passed to TTS engine, make sure to be clean:
45
  - Use ... for pauses, " and ' and ! and ? for intonation
46
  - IMPORTANT!! Write nicknames and names as they are pronounced. For example, "lora_rank=2" becomes "lora rank equals two", or "LoRA" becomes "Lo Ra", or "CrossEntropyLoss" becomes "Cross Entropy Loss", or "6GB" becomes "6 gigabytes", "A6000" becomes "A six thousands"
47
 
48
- WRITE NUMBER AS WORDS!!!
49
-
50
  Now, here is the content you need to write the podcast script:
51
 
52
  [START OF CONTENT]
 
45
  - Use ... for pauses, " and ' and ! and ? for intonation
46
  - IMPORTANT!! Write nicknames and names as they are pronounced. For example, "lora_rank=2" becomes "lora rank equals two", or "LoRA" becomes "Lo Ra", or "CrossEntropyLoss" becomes "Cross Entropy Loss", or "6GB" becomes "6 gigabytes", "A6000" becomes "A six thousands"
47
 
 
 
48
  Now, here is the content you need to write the podcast script:
49
 
50
  [START OF CONTENT]
index.html CHANGED
@@ -21119,7 +21119,7 @@ const PodcastGenerator = ({
21119
  };
21120
  const getPromptGeneratePodcastScript = (content, note) => `
21121
 
21122
- You are a podcast script writter. You only output content in YAML format. Given a raw unstructured content, think about a plan, then write the podcast script in YAML format. Please also take into account the note from the podcast producer.
21123
 
21124
  Some rules:
21125
  - Must output YAML format, must be wrapped inside mardown code block.
@@ -21157,7 +21157,11 @@ turns:
21157
  [END OF EXAMPLE]
21158
 
21159
  The example above is truncated at index 1, REMEMBER TO CREATE AT LEAST 20 TURNS.
21160
- The output text will be passed to TTS engine, make sure to be clean.
 
 
 
 
21161
 
21162
  Now, here is the content you need to write the podcast script:
21163
 
 
21119
  };
21120
  const getPromptGeneratePodcastScript = (content, note) => `
21121
 
21122
+ You are a podcast script writter. You only output content in YAML format. Given a raw unstructured content, think about a plan, then think more detailed how words can be written as pronunciations then write the podcast script in YAML format. Please also take into account the note from the podcast producer.
21123
 
21124
  Some rules:
21125
  - Must output YAML format, must be wrapped inside mardown code block.
 
21157
  [END OF EXAMPLE]
21158
 
21159
  The example above is truncated at index 1, REMEMBER TO CREATE AT LEAST 20 TURNS.
21160
+ The output text will be passed to TTS engine, make sure to be clean:
21161
+ - Write numbers and abbreviations as they are pronounced
21162
+ - For some less-common abbreviations, write the full words
21163
+ - Use ... for pauses, " and ' and ! and ? for intonation
21164
+ - IMPORTANT!! Write nicknames and names as they are pronounced. For example, "lora_rank=2" becomes "lora rank equals two", or "LoRA" becomes "Lo Ra", or "CrossEntropyLoss" becomes "Cross Entropy Loss", or "6GB" becomes "6 gigabytes", "A6000" becomes "A six thousands"
21165
 
21166
  Now, here is the content you need to write the podcast script:
21167