eswardivi commited on
Commit
268d0e5
1 Parent(s): d4fe6cc
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def synthesize(conversation_text, speed, progress=gr.Progress()):
21
  for i, turn in enumerate(conversation["conversation"]):
22
  bio = io.BytesIO()
23
  text = turn["text"]
 
24
  speaker = speakers[i % 2]
25
  speaker_id = models['EN'].hps.data.spk2id[speaker]
26
  models['EN'].tts_to_file(text, speaker_id, bio, speed=speed, pbar=progress.tqdm, format='wav')
 
21
  for i, turn in enumerate(conversation["conversation"]):
22
  bio = io.BytesIO()
23
  text = turn["text"]
24
+ print(text)
25
  speaker = speakers[i % 2]
26
  speaker_id = models['EN'].hps.data.spk2id[speaker]
27
  models['EN'].tts_to_file(text, speaker_id, bio, speed=speed, pbar=progress.tqdm, format='wav')