Spaces:
Running
Running
jonathanagustin
commited on
Commit
•
96ee146
1
Parent(s):
3a80faa
Upload folder using huggingface_hub
Browse files
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 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
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(
|