Spaces:
Running
on
Zero
Running
on
Zero
This PR plays the audio automatically
#1
by
Fabrice-TIERCELIN
- opened
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]
|