Spaces:
Sleeping
Sleeping
Commit
·
271cb67
1
Parent(s):
df512da
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.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."
|
|
|
|
| 27 |
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=process_pdf,
|
| 30 |
+
inputs=gr.inputs.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."
|