Spaces:
Running
on
Zero
Running
on
Zero
Fabrice-TIERCELIN
commited on
Commit
•
efbe539
1
Parent(s):
453ef66
This PR plays the audio automatically
Browse filesIt eases to understand the space.
Click on _Merge_ to add this feature.
app.py
CHANGED
@@ -152,7 +152,7 @@ Due to limitations on the dataset, this model might underperform for female voic
|
|
152 |
description = gr.Textbox(label="Description", lines=2, value=default_description, elem_id="input_description")
|
153 |
run_button = gr.Button("Generate Audio", variant="primary")
|
154 |
with gr.Column():
|
155 |
-
audio_out = gr.Audio(label="Parler-TTS generation", type="numpy", elem_id="audio_out")
|
156 |
|
157 |
inputs = [input_text, description]
|
158 |
outputs = [audio_out]
|
|
|
152 |
description = gr.Textbox(label="Description", lines=2, value=default_description, elem_id="input_description")
|
153 |
run_button = gr.Button("Generate Audio", variant="primary")
|
154 |
with gr.Column():
|
155 |
+
audio_out = gr.Audio(label="Parler-TTS generation", type="numpy", elem_id="audio_out", autoplay = True)
|
156 |
|
157 |
inputs = [input_text, description]
|
158 |
outputs = [audio_out]
|