Spaces:
Running
Running
Commit
·
69486d7
1
Parent(s):
85ebbdc
Update app.py
Browse files
app.py
CHANGED
@@ -96,10 +96,10 @@ def process_text(uploaded_file):
|
|
96 |
|
97 |
iface = gr.Interface(
|
98 |
fn=process_text,
|
99 |
-
inputs=gr.components.File(label="Upload PDF"),
|
100 |
outputs=["text", "audio"],
|
101 |
-
title="
|
102 |
-
description="Upload a PDF to extract, summarize its abstract, and convert to speech."
|
103 |
)
|
104 |
|
105 |
if __name__ == "__main__":
|
|
|
96 |
|
97 |
iface = gr.Interface(
|
98 |
fn=process_text,
|
99 |
+
inputs=gr.components.File(label="Upload a research PDF containing an abstract"),
|
100 |
outputs=["text", "audio"],
|
101 |
+
title="Summarize an abstract and vocalize it",
|
102 |
+
description="Upload a research paper in PDF format to extract, summarize its abstract, and convert the summarization to speech."
|
103 |
)
|
104 |
|
105 |
if __name__ == "__main__":
|