Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -413,7 +413,8 @@ z={
|
|
413 |
},
|
414 |
)
|
415 |
def change_language(value):
|
416 |
-
|
|
|
417 |
|
418 |
USE_GPU_CHOICES = [('Auto 🔀', 'auto'), ('CPU 💬', False), ('ZeroGPU 📄', True)]
|
419 |
USE_GPU_INFOS = {
|
|
|
413 |
},
|
414 |
)
|
415 |
def change_language(value):
|
416 |
+
choices = list(PREVIEW_CHOICES[value].items())
|
417 |
+
return gr.Dropdown(choices, value=choices[0], label='Voice', info='⭐ voices are stable, 🧪 are unstable')
|
418 |
|
419 |
USE_GPU_CHOICES = [('Auto 🔀', 'auto'), ('CPU 💬', False), ('ZeroGPU 📄', True)]
|
420 |
USE_GPU_INFOS = {
|