cnph001 commited on
Commit
40b007d
·
verified ·
1 Parent(s): 2928892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def tts_interface_sync(text, voice, rate, pitch):
170
 
171
  # Gradio interface
172
  async def create_demo():
173
- voices = await get_voices()
174
  default_voice = "en-US-AndrewMultilingualNeural - en-US (Male)"
175
  description = """
176
  Default = male, other voices 1F:US_Emma, 2F:US_Jenny, 3F:HK_Yan, 1M:AU_Will, 2M:IT_Guiseppe,3M:US_Brian, 1C: Childvoice, 1O = OldMan
 
170
 
171
  # Gradio interface
172
  async def create_demo():
173
+ voices = await get_voices() # Now this function is defined
174
  default_voice = "en-US-AndrewMultilingualNeural - en-US (Male)"
175
  description = """
176
  Default = male, other voices 1F:US_Emma, 2F:US_Jenny, 3F:HK_Yan, 1M:AU_Will, 2M:IT_Guiseppe,3M:US_Brian, 1C: Childvoice, 1O = OldMan