Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -337,7 +337,9 @@ from transformers import pipeline
|
|
337 |
#sentence_to_audio(summary_txt)
|
338 |
|
339 |
pdf_path=os.path.join(os.path.abspath(""), "hidden-technical-debt-in-machine-learning-systems-Paper.pdf")
|
340 |
-
pdf_path2=os.path.join(os.path.abspath(""), "1812_05944.pdf")
|
|
|
|
|
341 |
|
342 |
demo = gr.Interface(fn=sentence_to_audio, inputs="file", outputs=["audio","text"],examples=[pdf_path,pdf_path2])
|
343 |
demo.launch(share=True)
|
|
|
337 |
#sentence_to_audio(summary_txt)
|
338 |
|
339 |
pdf_path=os.path.join(os.path.abspath(""), "hidden-technical-debt-in-machine-learning-systems-Paper.pdf")
|
340 |
+
#pdf_path2=os.path.join(os.path.abspath(""), "1812_05944.pdf")
|
341 |
+
pdf_path2=os.path.join(os.path.abspath(""), "Article_4_ExperimentalEvidence_on_the_Productivity_Effects_ of_Generative_ Artificial_Intelligence")
|
342 |
+
|
343 |
|
344 |
demo = gr.Interface(fn=sentence_to_audio, inputs="file", outputs=["audio","text"],examples=[pdf_path,pdf_path2])
|
345 |
demo.launch(share=True)
|