kevinwang676 commited on
Commit
358d9fc
1 Parent(s): d83143d

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -2
api.py CHANGED
@@ -16,8 +16,8 @@ class OpenVoiceBaseClass(object):
16
  config_path,
17
  #device='cuda:0'):
18
  device="cpu"):
19
- if 'cuda' in device:
20
- assert torch.cuda.is_available()
21
 
22
  hps = utils.get_hparams_from_file(config_path)
23
 
 
16
  config_path,
17
  #device='cuda:0'):
18
  device="cpu"):
19
+ #if 'cuda' in device:
20
+ # assert torch.cuda.is_available()
21
 
22
  hps = utils.get_hparams_from_file(config_path)
23