BugHunter1 commited on
Commit
bb0e255
1 Parent(s): 525c330

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ 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
+ dataset = load_dataset("facebook/voxpopuli", "es", split="validation", streaming=True)
9
 
10
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
11