vividsd commited on
Commit
814bb5f
·
1 Parent(s): 3075f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -30,11 +30,11 @@ def process_pdf(pdf):
30
  #Now creating the interface to read the PDFs
31
 
32
  interface = gr.Interface(fn=process_pdf,
33
- inputs=gr.inputs.File(type="file", label="Upload PDF"),
34
- outputs="text",
35
- title="Summarizing outloud",
36
- description="Extract abstracts from PDFs, summarize then in 1 sentence and get an audio of it",
37
- examples=[["example_pdf1.pdf"], ["example_pdf2.pdf"]])
38
 
39
- if __name__ == "__main__":
40
  interface.launch()
 
30
  #Now creating the interface to read the PDFs
31
 
32
  interface = gr.Interface(fn=process_pdf,
33
+ inputs=gr.inputs.File(type="file", label="Upload PDF"),
34
+ outputs="text",
35
+ title="Summarizing outloud",
36
+ description="Extract abstracts from PDFs, summarize then in 1 sentence and get an audio of it",
37
+ examples=[["example_pdf1.pdf"], ["example_pdf2.pdf"]])
38
 
39
+ if __name__ == "__main__":
40
  interface.launch()