Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 131 |
with gr.Column():
|
| 132 |
audio_gen_button = gr.Button("Audio generation", variant="primary")
|
| 133 |
with gr.Row():
|
| 134 |
-
|
| 135 |
|
| 136 |
gr.Markdown(load_description("assets/gradio_description_upload.md"))
|
| 137 |
with gr.Row():
|
|
@@ -219,7 +219,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 219 |
inputs=[
|
| 220 |
script_txt
|
| 221 |
],
|
| 222 |
-
outputs=[
|
| 223 |
show_progress=True
|
| 224 |
)
|
| 225 |
|
|
|
|
| 131 |
with gr.Column():
|
| 132 |
audio_gen_button = gr.Button("Audio generation", variant="primary")
|
| 133 |
with gr.Row():
|
| 134 |
+
output_audio_path = gr.Audio(label="Generated audio", type="filepath")
|
| 135 |
|
| 136 |
gr.Markdown(load_description("assets/gradio_description_upload.md"))
|
| 137 |
with gr.Row():
|
|
|
|
| 219 |
inputs=[
|
| 220 |
script_txt
|
| 221 |
],
|
| 222 |
+
outputs=[output_audio_path],
|
| 223 |
show_progress=True
|
| 224 |
)
|
| 225 |
|