devan019 commited on
Commit
5284bef
·
verified ·
1 Parent(s): bcba979

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
 
7
  async def get_voices():
8
  voices = await edge_tts.list_voices()
9
- return {f"{v['ShortName']} - {v['Locale']} ({v['Gender']})": v['ShortName'] for v in voices}
10
 
11
  async def text_to_speech(text, voice, rate, pitch):
12
  if not text.strip():
 
6
 
7
  async def get_voices():
8
  voices = await edge_tts.list_voices()
9
+ return {v['ShortName'] : v['ShortName'] for v in voices}
10
 
11
  async def text_to_speech(text, voice, rate, pitch):
12
  if not text.strip():