marks commited on
Commit
51b27cf
·
1 Parent(s): 706c7d6

Still fighting with names

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,8 +65,8 @@ class PodcasterUI:
65
  with gr.Column():
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
 
 
65
  with gr.Column():
66
  voice_model = gr.Dropdown(
67
  label='Voice',
68
+ choices=self.voices[0][1], # 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