Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,10 @@ interface = gr.Interface(
|
|
47 |
fn=summarize_pdf_abstract,
|
48 |
inputs=[gr.File(label="Upload PDF")],
|
49 |
outputs=[gr.Textbox(label="Summary"), gr.Audio()],
|
50 |
-
title="PDF Summarization & Audio Tool"
|
51 |
description="""PDF Summarization App. This app summarizes the abstract of a PDF in one sentence and generates an audio of it. Only upload PDF's with Abstracts
|
52 |
Please read the README.MD for information about the app and sample PDFs.""",
|
|
|
53 |
)
|
54 |
|
55 |
interface.launch(share=True)
|
|
|
47 |
fn=summarize_pdf_abstract,
|
48 |
inputs=[gr.File(label="Upload PDF")],
|
49 |
outputs=[gr.Textbox(label="Summary"), gr.Audio()],
|
50 |
+
title="PDF Summarization & Audio Tool",
|
51 |
description="""PDF Summarization App. This app summarizes the abstract of a PDF in one sentence and generates an audio of it. Only upload PDF's with Abstracts
|
52 |
Please read the README.MD for information about the app and sample PDFs.""",
|
53 |
+
examples=[os.path.join(os.path.dirname(__file__), "Hidden_Technical_Debt_in_MLSystems.pdf")],
|
54 |
)
|
55 |
|
56 |
interface.launch(share=True)
|