Spaces:
Sleeping
Sleeping
Commit
·
df512da
1
Parent(s):
59d904d
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def process_pdf(file):
|
|
| 27 |
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=process_pdf,
|
| 30 |
-
inputs=gr.
|
| 31 |
outputs="text",
|
| 32 |
title="PDF Abstract Summarizer",
|
| 33 |
description="This app summarizes the abstract from a PDF. Please upload a PDF with an abstract."
|
|
|
|
| 27 |
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=process_pdf,
|
| 30 |
+
inputs=gr.File(type="file", label="Upload PDF"),
|
| 31 |
outputs="text",
|
| 32 |
title="PDF Abstract Summarizer",
|
| 33 |
description="This app summarizes the abstract from a PDF. Please upload a PDF with an abstract."
|