Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = """
|