Hilley commited on
Commit
55f0e01
1 Parent(s): 4511161

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -2
api.py CHANGED
@@ -14,8 +14,8 @@ from models import SynthesizerTrn
14
  class OpenVoiceBaseClass(object):
15
  def __init__(self,
16
  config_path,
17
- #device='cuda:0'):
18
- device="cpu"):
19
  #if 'cuda' in device:
20
  # assert torch.cuda.is_available()
21
 
 
14
  class OpenVoiceBaseClass(object):
15
  def __init__(self,
16
  config_path,
17
+ device='cuda:0'):
18
+ #device="cpu"):
19
  #if 'cuda' in device:
20
  # assert torch.cuda.is_available()
21