Spaces:
Running
Running
Commit
·
76634ff
1
Parent(s):
8328d05
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.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."
|
|
|
|
| 49 |
# Gradio Interface
|
| 50 |
iface = gr.Interface(
|
| 51 |
fn=process_text,
|
| 52 |
+
inputs=gr.inputs.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."
|