Tonic commited on
Commit
3e485ef
1 Parent(s): 5e029be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -25
app.py CHANGED
@@ -46,31 +46,7 @@ if __name__ == "__main__":
46
  inputs="text",
47
  outputs="text",
48
  examples=[
49
- ['''
50
- Function:
51
- def create_audio_sequence_order(text):
52
- """
53
- Analyzes the text and creates an order for each character and narrator segment.
54
-
55
- Args:
56
- text (str): The text containing the dialogues and narration.
57
-
58
- Returns:
59
- list: A list of tuples, each containing the character/narrator name and a segment of their dialogue/narration.
60
- """
61
-
62
- User Query: Thank you, my mother is remarkably well. Gone to Mr. Woodhouse’s. I made her take her shawl – for the
63
- evenings are not warm – her large new shawl – Mrs. Dixon’s wedding present. So kind of her to think of my
64
- mother! Bought at Weymouth, you know – Mr. Dixon’s choice. There were three others, Jane says, which they
65
- hesitated about some time. Colonel Campbell rather preferred an olive. My dear Jane, are you sure you did not
66
- wet your feet? – It was but a drop or two, but I am so afraid: but Mr. Frank Churchill was so extremely – and
67
- there was a mat to step upon – I shall never forget his extreme politeness. (…) Do we not often talk of Mr. Frank
68
- Churchill? – Ah, here’s Miss Woodhouse – Dear Miss Woodhouse, how do you do? Very well, I thank you, quite
69
- well. This is a meeting quite in fairyland! Such a transformation! – Must not compliment, I know (...) – that would
70
- be rude, but upon my word, Miss Woodhouse, you do look – how do you like Jane’s hair? (...)
71
- use either speech to single voice if there's no dialogue or create_audio_sequence_order if there is dialogue<human_end>
72
- '''],
73
- ['''
74
  Function:
75
  def create_audio_sequence_order(text):
76
  """
 
46
  inputs="text",
47
  outputs="text",
48
  examples=[
49
+ ['''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  Function:
51
  def create_audio_sequence_order(text):
52
  """