bwilkie commited on
Commit
792b8dd
·
1 Parent(s): c39ab40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -5,6 +5,9 @@ from datasets import load_dataset
5
 
6
  from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
7
 
 
 
 
8
 
9
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
10
 
 
5
 
6
  from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
7
 
8
+ ##
9
+ dataset = load_dataset("facebook/voxpopuli", "en", split="validation", streaming=True)
10
+ ##
11
 
12
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
13