Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def summarise_pdf(pdf_file):
|
|
| 36 |
# 4. Gradio UI
|
| 37 |
iface = gr.Interface(
|
| 38 |
fn=summarise_pdf,
|
| 39 |
-
inputs=gr.Textbox(label="Upload PDF", lines=3
|
| 40 |
outputs=gr.Textbox(label="Summary", lines=10),
|
| 41 |
title="PDF Summariser – Google Pegasus-XSUM",
|
| 42 |
description="Upload any PDF and get a concise abstractive summary in seconds.",
|
|
|
|
| 36 |
# 4. Gradio UI
|
| 37 |
iface = gr.Interface(
|
| 38 |
fn=summarise_pdf,
|
| 39 |
+
inputs=gr.Textbox(label="Upload PDF", lines=3),
|
| 40 |
outputs=gr.Textbox(label="Summary", lines=10),
|
| 41 |
title="PDF Summariser – Google Pegasus-XSUM",
|
| 42 |
description="Upload any PDF and get a concise abstractive summary in seconds.",
|