marks commited on
Commit
706c7d6
·
1 Parent(s): 766302d

Add names to drop down

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ class PodcasterUI:
66
  voice_model = gr.Dropdown(
67
  label='Voice',
68
  choices=self.voices, # Already in (id, name) format
69
- value=self.voices[0][0] if len(self.voices) > 1 else None,
70
  type="value" # Ensures value (id) is used internally
71
  )
72
 
 
66
  voice_model = gr.Dropdown(
67
  label='Voice',
68
  choices=self.voices, # Already in (id, name) format
69
+ value=self.voices[0][1] if len(self.voices) > 1 else None,
70
  type="value" # Ensures value (id) is used internally
71
  )
72