zomehwh commited on
Commit
c3c91fe
1 Parent(s): 86e633d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,7 +178,7 @@ if __name__ == '__main__':
178
  )
179
  tts_mode = gr.Checkbox(label="tts (use edge-tts as input)", value=False)
180
  tts_text = gr.Textbox(visible=False,label="TTS text (100 words limitation)" if limitation else "TTS text")
181
- tts_voice = gr.Dropdown(choices=voices, visible=False)
182
  vc_submit = gr.Button("Generate", variant="primary")
183
  with gr.Column():
184
  vc_output1 = gr.Textbox(label="Output Message")
 
178
  )
179
  tts_mode = gr.Checkbox(label="tts (use edge-tts as input)", value=False)
180
  tts_text = gr.Textbox(visible=False,label="TTS text (100 words limitation)" if limitation else "TTS text")
181
+ tts_voice = gr.Dropdown(label="Edge-tts speaker", choices=voices, visible=False, allow_custom_value=False, value="en-US-AnaNeural-Female")
182
  vc_submit = gr.Button("Generate", variant="primary")
183
  with gr.Column():
184
  vc_output1 = gr.Textbox(label="Output Message")