Antoniskaraolis commited on
Commit
f431baa
·
1 Parent(s): 271cb67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def process_pdf(file):
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."
 
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."