osanseviero commited on
Commit
9dffe2c
·
1 Parent(s): a7d0893

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("cpu")
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",