Mishmosh commited on
Commit
38e9d9f
·
1 Parent(s): f88e951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -12,8 +12,14 @@ def process_input(message, pdf_file):
12
 
13
  iface = gr.Interface(
14
  fn=process_input,
15
- inputs=["text", gr.File(type="pdf", label="Upload PDF")],
16
- outputs="text"
 
 
 
 
 
 
17
  )
18
 
19
  iface.launch()
 
12
 
13
  iface = gr.Interface(
14
  fn=process_input,
15
+ inputs=[
16
+ "text",
17
+ gr.File(
18
+ type="pdf",
19
+ label="Please upload a PDF file that contains an abstract. You will receive a one-sentence summary of the PDF and can listen to it.",
20
+ ),
21
+ ],
22
+ outputs="text",
23
  )
24
 
25
  iface.launch()