thianfoo commited on
Commit
201c7a0
·
verified ·
1 Parent(s): 7e13757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from diffusers import DiffusionPipeline
6
  from datasets import load_dataset
7
  from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
8
 
9
- device = "cuda:0" if torch.cuda.is_available() else "cpu
10
 
11
  title = "GenAI StoryTeller"
12
  description = """
 
6
  from datasets import load_dataset
7
  from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor, pipeline
8
 
9
+ device = "cuda:0" if torch.cuda.is_available() else "cpu"
10
 
11
  title = "GenAI StoryTeller"
12
  description = """