Spaces:
Runtime error
Runtime error
fix bug on the PR
Browse files
app.py
CHANGED
@@ -226,7 +226,7 @@ with iface:
|
|
226 |
n_candidates = gr.Slider(1, 5, value=3, step=1, label="Automatic quality control. This number control the number of candidates (e.g., generate three audios and choose the best to show you). A Larger value usually lead to better quality with heavier computation")
|
227 |
############# Output
|
228 |
# outputs=gr.Audio(label="Output", type="numpy")
|
229 |
-
outputs=gr.Video(label="Output", elem_id="output-video"), gr.Audio(visible=False)
|
230 |
|
231 |
# with gr.Group(elem_id="container-advanced-btns"):
|
232 |
# # advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
|
|
226 |
n_candidates = gr.Slider(1, 5, value=3, step=1, label="Automatic quality control. This number control the number of candidates (e.g., generate three audios and choose the best to show you). A Larger value usually lead to better quality with heavier computation")
|
227 |
############# Output
|
228 |
# outputs=gr.Audio(label="Output", type="numpy")
|
229 |
+
outputs=[gr.Video(label="Output", elem_id="output-video"), gr.Audio(visible=False)]
|
230 |
|
231 |
# with gr.Group(elem_id="container-advanced-btns"):
|
232 |
# # advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|