Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
·
9dffe2c
1
Parent(s):
a7d0893
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from tortoise_tts.utils.audio import load_audio, get_voices
|
|
13 |
|
14 |
# This will download all the models used by Tortoise from the HF hub
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
-
tts = TextToSpeech(
|
17 |
|
18 |
voices = [
|
19 |
"angie",
|
|
|
13 |
|
14 |
# This will download all the models used by Tortoise from the HF hub
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
+
tts = TextToSpeech(device)
|
17 |
|
18 |
voices = [
|
19 |
"angie",
|