14-26AA commited on
Commit
fedc6c4
1 Parent(s): eaabb20

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -76,4 +76,4 @@ def infer(f,speaker,key,reqf0=False):
76
  f0min=librosa.note_to_hz('C2'),
77
  f0max=librosa.note_to_hz('C7'))
78
  genf0=resize2d(genf0,x_lengths[0])
79
- return 'success',ort_output[0][0][0]#sourcef0.tolist(),genf0.tolist()
 
76
  f0min=librosa.note_to_hz('C2'),
77
  f0max=librosa.note_to_hz('C7'))
78
  genf0=resize2d(genf0,x_lengths[0])
79
+ return 'success',(22050,ort_output[0][0][0])#sourcef0.tolist(),genf0.tolist()