jonathanagustin commited on
Commit
96ee146
1 Parent(s): 3a80faa

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -115,18 +115,18 @@ def main():
115
  value=VOICE_PREVIEW_FILES[voice],
116
  label=f"Preview Voice: {voice.capitalize()}",
117
  )
 
118
 
119
- preview_audio = gr.Audio(
120
- interactive=False,
121
- label="Preview Voice: Echo",
122
- value=VOICE_PREVIEW_FILES['echo'],
123
- visible=True,
124
- show_download_button=False,
125
- show_share_button=False,
126
- autoplay=False,
127
- )
128
 
129
- with gr.Group():
130
  # Create buttons for each voice
131
  for voice in VOICE_OPTIONS:
132
  voice_button = gr.Button(
 
115
  value=VOICE_PREVIEW_FILES[voice],
116
  label=f"Preview Voice: {voice.capitalize()}",
117
  )
118
+ with gr.Group():
119
 
120
+ preview_audio = gr.Audio(
121
+ interactive=False,
122
+ label="Preview Voice: Echo",
123
+ value=VOICE_PREVIEW_FILES['echo'],
124
+ visible=True,
125
+ show_download_button=False,
126
+ show_share_button=False,
127
+ autoplay=False,
128
+ )
129
 
 
130
  # Create buttons for each voice
131
  for voice in VOICE_OPTIONS:
132
  voice_button = gr.Button(