Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
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 |
-
|
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():
|