Spaces:
Runtime error
Runtime error
Commit ·
2a7b912
1
Parent(s): cc7fa79
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def process_text(pdf_content):
|
|
| 44 |
# Gradio Interface
|
| 45 |
iface = gr.Interface(
|
| 46 |
fn=process_text,
|
| 47 |
-
inputs=gr.
|
| 48 |
outputs=["text", "audio"],
|
| 49 |
title="Summarization and Text-to-Speech",
|
| 50 |
description="Upload a PDF to extract, summarize its abstract, and convert to speech."
|
|
|
|
| 44 |
# Gradio Interface
|
| 45 |
iface = gr.Interface(
|
| 46 |
fn=process_text,
|
| 47 |
+
inputs=gr.File(label="Upload PDF"),
|
| 48 |
outputs=["text", "audio"],
|
| 49 |
title="Summarization and Text-to-Speech",
|
| 50 |
description="Upload a PDF to extract, summarize its abstract, and convert to speech."
|