Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,3 @@
|
|
| 1 |
-
!pip install PyPDF2
|
| 2 |
-
!pip install transformers
|
| 3 |
-
!pip install gradio
|
| 4 |
-
!pip install git+https://github.com/huggingface/transformers.git
|
| 5 |
-
!pip install datasets sentencepiece
|
| 6 |
-
|
| 7 |
from PyPDF2 import PdfReader
|
| 8 |
from transformers import pipeline, SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
|
| 9 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from PyPDF2 import PdfReader
|
| 2 |
from transformers import pipeline, SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
|
| 3 |
import torch
|