mjbuehler commited on
Commit
edcba41
·
verified ·
1 Parent(s): 0f6029d

Update app.py

Browse files

Fixed audio display/download issue

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -580,7 +580,7 @@ with gr.Blocks(title="PDF to Audio", css="""
580
  info="Provide the instructions for generating the presentation or podcast dialogue.",
581
  )
582
 
583
- audio_output = gr.Audio(label="Audio", format="mp3")
584
  transcript_output = gr.Textbox(label="Transcript", lines=20, show_copy_button=True)
585
  original_text_output = gr.Textbox(label="Original Text", lines=10, visible=False)
586
  error_output = gr.Textbox(visible=False) # Hidden textbox to store error message
 
580
  info="Provide the instructions for generating the presentation or podcast dialogue.",
581
  )
582
 
583
+ audio_output = gr.Audio(label="Audio", format="mp3", interactive=False, autoplay=False)
584
  transcript_output = gr.Textbox(label="Transcript", lines=20, show_copy_button=True)
585
  original_text_output = gr.Textbox(label="Original Text", lines=10, visible=False)
586
  error_output = gr.Textbox(visible=False) # Hidden textbox to store error message