yerang commited on
Commit
40667cc
·
verified ·
1 Parent(s): 4b3caeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- output_audio = gr.Audio(label="Generated audio", type="file")
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=[output_audio],
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