Spaces:
Sleeping
Sleeping
Commit
·
b303ff0
1
Parent(s):
76634ff
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def process_text(pdf_content):
|
|
49 |
# Gradio Interface
|
50 |
iface = gr.Interface(
|
51 |
fn=process_text,
|
52 |
-
inputs=gr.
|
53 |
outputs=["text", "audio"],
|
54 |
title="Summarization and Text-to-Speech",
|
55 |
description="Upload a PDF to extract, summarize its abstract, and convert to speech."
|
|
|
49 |
# Gradio Interface
|
50 |
iface = gr.Interface(
|
51 |
fn=process_text,
|
52 |
+
inputs=gr.components.File(label="Upload PDF"),
|
53 |
outputs=["text", "audio"],
|
54 |
title="Summarization and Text-to-Speech",
|
55 |
description="Upload a PDF to extract, summarize its abstract, and convert to speech."
|