eswardivi commited on
Commit
324e3dd
1 Parent(s): a3bcfb7

speaker changed

Browse files
Files changed (2) hide show
  1. README.md +1 -3
  2. app.py +1 -1
README.md CHANGED
@@ -1,11 +1,9 @@
1
  ---
2
  title: Podcastify
3
- colorFrom: blue
4
- colorTo: blue
5
  sdk: gradio
6
  emoji: 🗣️
7
  license: mit
8
  app_file: app.py
9
  pinned: true
10
- short_description: Fast, efficient, & multilingual text-to-speech
11
  ---
 
1
  ---
2
  title: Podcastify
 
 
3
  sdk: gradio
4
  emoji: 🗣️
5
  license: mit
6
  app_file: app.py
7
  pinned: true
8
+ short_description: Turn Any Article to Podcast
9
  ---
app.py CHANGED
@@ -15,7 +15,7 @@ def synthesize(text, speed, progress=gr.Progress()):
15
  }
16
  speakers=['EN-US','EN-Default']
17
  bio = io.BytesIO()
18
- models['EN'].tts_to_file(text, models['EN'].hps.data.spk2id[speakers[0]], bio, speed=speed, pbar=progress.tqdm, format='wav')
19
  return bio.getvalue()
20
 
21
 
 
15
  }
16
  speakers=['EN-US','EN-Default']
17
  bio = io.BytesIO()
18
+ models['EN'].tts_to_file(text, models['EN'].hps.data.spk2id[speakers[1]], bio, speed=speed, pbar=progress.tqdm, format='wav')
19
  return bio.getvalue()
20
 
21