Herishop commited on
Commit
f7a4e72
·
verified ·
1 Parent(s): 5df06b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -64,14 +64,14 @@ def gradio_interface():
64
 
65
  # Cột cho Model và Voice Options cùng nằm trên một hàng ngang
66
  with gr.Row():
67
- model = gr.Dropdown(choices=['tts-1', 'tts-1-hd'], label='Model', value='tts-1', elem_id="model-dropdown", max_width="200px")
68
  voice = gr.Dropdown(
69
  choices=[
70
  'alloy', 'ash', 'coral', 'echo', 'fable', 'onyx', 'nova', 'sage', 'shimmer'
71
  ],
72
  label='Voice Options',
73
- value='echo',
74
- elem_id="voice-dropdown", max_width="200px"
75
  )
76
 
77
  speed = gr.Slider(minimum=0.5, maximum=2.0, step=0.1, label="Speed", value=1.0)
 
64
 
65
  # Cột cho Model và Voice Options cùng nằm trên một hàng ngang
66
  with gr.Row():
67
+ model = gr.Dropdown(choices=['tts-1', 'tts-1-hd'], label='Model', value='tts-1', elem_id="model-dropdown", interactive=True)
68
  voice = gr.Dropdown(
69
  choices=[
70
  'alloy', 'ash', 'coral', 'echo', 'fable', 'onyx', 'nova', 'sage', 'shimmer'
71
  ],
72
  label='Voice Options',
73
+ value='alloy',
74
+ elem_id="voice-dropdown", interactive=True
75
  )
76
 
77
  speed = gr.Slider(minimum=0.5, maximum=2.0, step=0.1, label="Speed", value=1.0)