bl4dylion commited on
Commit
38a2004
Β·
1 Parent(s): 0925810

add pause generation for prompt

Browse files
Files changed (1) hide show
  1. src/emotions/prompts.py +7 -0
src/emotions/prompts.py CHANGED
@@ -67,6 +67,13 @@ and uppercase words to add emphasis or convey emotion. For adding more emotion u
67
  duplicate special characters for example "!!!".
68
  Do not remove or add any different words.
69
  Only alter the presentation of the existing words.
 
 
 
 
 
 
 
70
  After modifying the text, adjust the "stability", "similarity_boost" and "style" parameters
71
  according to the level of emotional intensity in the modified text.
72
  Higher emotional intensity should lower the "stability" and raise the "similarity_boost".
 
67
  duplicate special characters for example "!!!".
68
  Do not remove or add any different words.
69
  Only alter the presentation of the existing words.
70
+
71
+ Also you can add pause in the output text if it needed
72
+ The most consistent way is programmatically using the syntax <break time="1.5s" />. or any time in second if it fit to the text
73
+ This will create an exact and natural pause in the speech.
74
+ It is not just added silence between words,
75
+ but the AI has an actual understanding of this syntax and will add a natural pause.
76
+
77
  After modifying the text, adjust the "stability", "similarity_boost" and "style" parameters
78
  according to the level of emotional intensity in the modified text.
79
  Higher emotional intensity should lower the "stability" and raise the "similarity_boost".