Spaces:
Sleeping
Sleeping
Commit
·
a0ecce1
1
Parent(s):
8c96cb8
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def process_pdf_to_speech(file):
|
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=process_pdf_to_speech,
|
| 30 |
inputs=gr.File(label="Upload PDF"),
|
| 31 |
-
outputs=gr.
|
| 32 |
title="PDF Abstract to Speech",
|
| 33 |
description="This app summarizes the abstract from a PDF and converts it to speech. Please upload a PDF with an abstract."
|
| 34 |
)
|
|
|
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=process_pdf_to_speech,
|
| 30 |
inputs=gr.File(label="Upload PDF"),
|
| 31 |
+
outputs=gr.Audio(label="Play Summary"),
|
| 32 |
title="PDF Abstract to Speech",
|
| 33 |
description="This app summarizes the abstract from a PDF and converts it to speech. Please upload a PDF with an abstract."
|
| 34 |
)
|