Spaces:
Sleeping
Sleeping
Commit
·
f6562c1
1
Parent(s):
75ad4a8
fixed app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def summarize_and_convert_to_audio(pdf_file):
|
|
88 |
iface = gr.Interface(
|
89 |
fn=summarize_and_convert_to_audio,
|
90 |
inputs=gr.UploadButton(label="Upload PDF", type="binary", file_types=["pdf"]), # Set to accept only PDF files
|
91 |
-
outputs=gr.Audio(label="Audio"),
|
92 |
title="PDF Abstract Summarizer",
|
93 |
description="""
|
94 |
This application is supposed to summarize the 'abstract' section of a PDF file and convert the summarization into a speech.
|
|
|
88 |
iface = gr.Interface(
|
89 |
fn=summarize_and_convert_to_audio,
|
90 |
inputs=gr.UploadButton(label="Upload PDF", type="binary", file_types=["pdf"]), # Set to accept only PDF files
|
91 |
+
outputs=[gr.Audio(label="Audio"), gr.Textbox(label="Message")],
|
92 |
title="PDF Abstract Summarizer",
|
93 |
description="""
|
94 |
This application is supposed to summarize the 'abstract' section of a PDF file and convert the summarization into a speech.
|