Update app.py
Browse filesFixed audio display/download issue
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
|