mrsk1883 commited on
Commit
151b692
·
1 Parent(s): 6900efd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -59,6 +59,7 @@ interface = gr.Interface(
59
  outputs=[gr.Textbox(label="Summary"), gr.Audio()],
60
  title="PDF Summarization & Audio Tool",
61
  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."""
 
62
  )
63
 
64
  interface.launch()
 
59
  outputs=[gr.Textbox(label="Summary"), gr.Audio()],
60
  title="PDF Summarization & Audio Tool",
61
  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."""
62
+ 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,
63
  )
64
 
65
  interface.launch()