Spaces:
Running
Running
Commit
·
56e99ba
1
Parent(s):
bab4616
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,4 +10,25 @@ pinned: false
|
|
| 10 |
license: wtfpl
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
license: wtfpl
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# OPIT
|
| 14 |
+
|
| 15 |
+
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.
|
| 16 |
+
|
| 17 |
+
## How It Works
|
| 18 |
+
|
| 19 |
+
1. The app extracts the abstract from a PDF document.
|
| 20 |
+
2. It then uses the BART model for summarization.
|
| 21 |
+
3. The summarized text is converted into speech using the Bark model.
|
| 22 |
+
4. Users can play the generated audio directly in the Space.
|
| 23 |
+
|
| 24 |
+
## Dependencies
|
| 25 |
+
|
| 26 |
+
- transformers
|
| 27 |
+
- torch
|
| 28 |
+
- scipy
|
| 29 |
+
- numpy
|
| 30 |
+
- gradio
|
| 31 |
+
- fitz
|
| 32 |
+
- PyMuPDF
|
| 33 |
+
|
| 34 |
+
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.
|