Antoniskaraolis
commited on
Commit
•
8c96cb8
1
Parent(s):
c306bb9
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def process_pdf_to_speech(file):
|
|
27 |
|
28 |
iface = gr.Interface(
|
29 |
fn=process_pdf_to_speech,
|
30 |
-
inputs=gr.
|
31 |
outputs=gr.outputs.Audio(type="file", 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."
|
|
|
27 |
|
28 |
iface = gr.Interface(
|
29 |
fn=process_pdf_to_speech,
|
30 |
+
inputs=gr.File(label="Upload PDF"),
|
31 |
outputs=gr.outputs.Audio(type="file", 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."
|