oluinioluwa814 commited on
Commit
cd6811c
·
verified ·
1 Parent(s): 7e6f532

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, file_types=[".pdf"]),
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.",