hexgrad commited on
Commit
afa3e39
·
verified ·
1 Parent(s): d543d81

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -413,7 +413,8 @@ z={
413
  },
414
  )
415
  def change_language(value):
416
- return gr.Dropdown(list(PREVIEW_CHOICES[value].items()), label='Voice', info='⭐ voices are stable, 🧪 are unstable')
 
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 = {