Plachta commited on
Commit
515113a
1 Parent(s): e0708dc
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,8 +44,8 @@ text_tokenizer = PhonemeBpeTokenizer(tokenizer_path="./utils/g2p/bpe_69.json")
44
  text_collater = get_text_token_collater()
45
 
46
  device = torch.device("cpu")
47
- # if torch.cuda.is_available():
48
- # device = torch.device("cuda", 0)
49
 
50
  # VALL-E-X model
51
  model = VALLE(
 
44
  text_collater = get_text_token_collater()
45
 
46
  device = torch.device("cpu")
47
+ if torch.cuda.is_available():
48
+ device = torch.device("cuda", 0)
49
 
50
  # VALL-E-X model
51
  model = VALLE(