Spaces:
Sleeping
Sleeping
JacobLinCool
commited on
Commit
•
90ffed4
1
Parent(s):
417e4c2
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def split(client, audio):
|
|
18 |
return result[0], result[1]
|
19 |
|
20 |
@spaces.GPU
|
21 |
-
def convert(
|
22 |
rvc = RVC.from_pretrained(model)
|
23 |
samples = rvc.convert(vocal, pitch_modification=pitch_modification)
|
24 |
return samples, rvc.sr
|
|
|
18 |
return result[0], result[1]
|
19 |
|
20 |
@spaces.GPU
|
21 |
+
def convert(model, vocal, pitch_modification):
|
22 |
rvc = RVC.from_pretrained(model)
|
23 |
samples = rvc.convert(vocal, pitch_modification=pitch_modification)
|
24 |
return samples, rvc.sr
|