Spaces:
Running
Running
kevinwang676
commited on
Commit
•
5d4265b
1
Parent(s):
ef218df
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -99,7 +99,7 @@ def main(a):
|
|
99 |
model = SVCNN(model_ckpt_path, device=device)
|
100 |
|
101 |
t0 = time.time()
|
102 |
-
svc(model, a.src_wav_path, a.ref_wav_path, a.out_dir, device, f0factor, speech_enroll)
|
103 |
t1 = time.time()
|
104 |
print(f"{t1-t0:.2f}s to perfrom the conversion")
|
105 |
|
|
|
99 |
model = SVCNN(model_ckpt_path, device=device)
|
100 |
|
101 |
t0 = time.time()
|
102 |
+
svc(model, a.src_wav_path, a.ref_wav_path, out_dir=a.out_dir, device=device, f0_factor=f0factor, speech_enroll=speech_enroll)
|
103 |
t1 = time.time()
|
104 |
print(f"{t1-t0:.2f}s to perfrom the conversion")
|
105 |
|