Spaces:
Running
Running
| title: OPIT | |
| emoji: π | |
| colorFrom: red | |
| colorTo: gray | |
| sdk: gradio | |
| sdk_version: 4.7.1 | |
| app_file: app.py | |
| pinned: false | |
| license: wtfpl | |
| # OPIT | |
| This Gradio Space demonstrates a summarization and text-to-speech application. It extracts the abstract from a PDF, summarizes it, and then converts the summary into speech. | |
| ## How It Works | |
| 1. The app extracts the abstract from a PDF document. | |
| 2. It then uses the BART model for summarization. | |
| 3. The summarized text is converted into speech using the Bark model. | |
| 4. Users can play the generated audio directly in the Space. | |
| ## Dependencies | |
| - transformers | |
| - torch | |
| - scipy | |
| - numpy | |
| - gradio | |
| - fitz | |
| - PyMuPDF | |
| Make sure to check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference for more information on setting up and customizing your Space. | |