hexgrad commited on
Commit
9d136e9
·
verified ·
1 Parent(s): 088e714

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -341,8 +341,7 @@ ML_CHOICES = json.loads(client.predict(api_name='/list_voices'))
341
  DEFAULT_VOICE = list(ML_CHOICES['a'].values())[0]
342
  def change_language(value):
343
  choices = list(ML_CHOICES[value].items())
344
- info = 'Missing British voices will be restored later' if value == 'b' else '⭐ voices are stable, 🧪 are unstable'
345
- return gr.Dropdown(choices, value=choices[0][1], label='Voice', info=info)
346
 
347
  def multilingual(text, voice, speed, trim, sk):
348
  if not text.strip():
 
341
  DEFAULT_VOICE = list(ML_CHOICES['a'].values())[0]
342
  def change_language(value):
343
  choices = list(ML_CHOICES[value].items())
344
+ return gr.Dropdown(choices, value=choices[0][1], label='Voice', info='⭐ voices are stable, 🧪 are unstable')
 
345
 
346
  def multilingual(text, voice, speed, trim, sk):
347
  if not text.strip():