innnky commited on
Commit
71144d8
1 Parent(s): 9a46b2e

Update inference_f0.py

Browse files
Files changed (1) hide show
  1. inference_f0.py +1 -0
inference_f0.py CHANGED
@@ -7,6 +7,7 @@ from fairseq import checkpoint_utils
7
  import pyworld,librosa
8
  import torch.nn.functional as F
9
 
 
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
  model_path = "path_to_ContentVec_legacy500.pt"
12
  print("load model(s) from {}".format(model_path))
 
7
  import pyworld,librosa
8
  import torch.nn.functional as F
9
 
10
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
12
  model_path = "path_to_ContentVec_legacy500.pt"
13
  print("load model(s) from {}".format(model_path))