Spaces:
Sleeping
Sleeping
Commit
·
f431baa
1
Parent(s):
271cb67
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(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."
|