MHayden commited on
Commit
be55030
·
1 Parent(s): 3c41919

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  from PyPDF2 import PdfReader
2
  from transformers import pipeline, SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
3
  import torch
 
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