m4jbz commited on
Commit
2afe5f3
1 Parent(s): 71fa07d
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -130,9 +130,15 @@ with demo:
130
  language_choices = list(language_to_models.keys())
131
 
132
  language_radio = gr.Radio(
 
 
 
133
  )
134
 
135
  model_dropdown = gr.Dropdown(
 
 
 
136
  )
137
 
138
  language_radio.change(
@@ -151,6 +157,12 @@ with demo:
151
  )
152
 
153
  input_sid = gr.Textbox(
 
 
 
 
 
 
154
  )
155
 
156
  input_speed = gr.Slider(
 
130
  language_choices = list(language_to_models.keys())
131
 
132
  language_radio = gr.Radio(
133
+ label="Language",
134
+ choices=language_choices,
135
+ value=language_choices[0],
136
  )
137
 
138
  model_dropdown = gr.Dropdown(
139
+ choices=language_to_models[language_choices[0]],
140
+ label="Select a model",
141
+ value=language_to_models[language_choices[0]][0],
142
  )
143
 
144
  language_radio.change(
 
157
  )
158
 
159
  input_sid = gr.Textbox(
160
+ label="Speaker ID",
161
+ info="Speaker ID",
162
+ lines=1,
163
+ max_lines=1,
164
+ value="0",
165
+ placeholder="Speaker ID. Valid only for mult-speaker model",
166
  )
167
 
168
  input_speed = gr.Slider(