Eric Z commited on
Commit
3bef523
·
1 Parent(s): 55f4cda

update to move primary button, change default voice

Browse files
Files changed (1) hide show
  1. stream_app.py +2 -2
stream_app.py CHANGED
@@ -166,6 +166,7 @@ def run_gradio(config:dict):
166
  choices=[online_text_model, offline_text_model],
167
  value=offline_text_model,
168
  )
 
169
 
170
  with gr.Group():
171
  audio_input = gr.Audio(
@@ -194,7 +195,7 @@ def run_gradio(config:dict):
194
  with gr.Row():
195
  combo_speaker = gr.Dropdown(
196
  choices=["alloy", "echo", "fable", "onyx", "nova", "shimmer"],
197
- show_label=False, value="nova", interactive=True,
198
  )
199
  with gr.Row():
200
  combo_autospeak = gr.Radio(
@@ -210,7 +211,6 @@ def run_gradio(config:dict):
210
  )
211
 
212
  with gr.Row():
213
- submit_button = gr.Button("Generate Response", variant='primary')
214
  generate_done = gr.State(False) # is last genai content chunked?
215
  path_prior = gr.State(None) # retain prior file for audio playback
216
  offset_prior = gr.State(0) # track textual offset in genrated content
 
166
  choices=[online_text_model, offline_text_model],
167
  value=offline_text_model,
168
  )
169
+ submit_button = gr.Button("Generate Response", variant='primary')
170
 
171
  with gr.Group():
172
  audio_input = gr.Audio(
 
195
  with gr.Row():
196
  combo_speaker = gr.Dropdown(
197
  choices=["alloy", "echo", "fable", "onyx", "nova", "shimmer"],
198
+ show_label=False, value="fable", interactive=True,
199
  )
200
  with gr.Row():
201
  combo_autospeak = gr.Radio(
 
211
  )
212
 
213
  with gr.Row():
 
214
  generate_done = gr.State(False) # is last genai content chunked?
215
  path_prior = gr.State(None) # retain prior file for audio playback
216
  offset_prior = gr.State(0) # track textual offset in genrated content