mrsk1883 commited on
Commit
01a52e2
1 Parent(s): 564f95e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -58,8 +58,9 @@ interface = gr.Interface(
58
  fn=extract_abstract_and_summarize,
59
  inputs=[gr.File(label="Upload PDF")],
60
  outputs=[gr.Textbox(label="Summary"), gr.Audio()],
61
- title="PDF Summarization & Audio Tool",
62
- description="""PDF Summarization App. This app extracts the abstract from a PDF, summarizes it using the 'pszemraj/led-large-book-summary' model, and generates an audio of it. Only upload PDFs with abstracts. Please read the README.MD for information about the app and sample PDFs.""",
 
63
  examples=[[os.path.join(os.path.dirname(__file__), "Article 11 Hidden Technical Debt in Machine Learning Systems.pdf")],[os.path.join(os.path.dirname(__file__), "Article 4 Experimental Evidence on the Productivity Effects of Generative Artificial Intelligence.pdf")]],cache_examples=True,
64
  )
65
 
 
58
  fn=extract_abstract_and_summarize,
59
  inputs=[gr.File(label="Upload PDF")],
60
  outputs=[gr.Textbox(label="Summary"), gr.Audio()],
61
+ title="PDF Summarization & Audio Generation Tool",
62
+ description="""PDF Summarization App. This app extracts the abstract from a PDF, summarizes it using the 'pszemraj/led-large-book-summary' model into one sentence summary, and generates an audio of it. Only upload PDFs with abstracts. Example
63
+ PDF's are given below, and please click on them to see the summarized text and audio generated. Please read the README.MD for more information about the app.""",
64
  examples=[[os.path.join(os.path.dirname(__file__), "Article 11 Hidden Technical Debt in Machine Learning Systems.pdf")],[os.path.join(os.path.dirname(__file__), "Article 4 Experimental Evidence on the Productivity Effects of Generative Artificial Intelligence.pdf")]],cache_examples=True,
65
  )
66