JacobLinCool commited on
Commit
90ffed4
1 Parent(s): 417e4c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def split(client, audio):
18
  return result[0], result[1]
19
 
20
  @spaces.GPU
21
- def convert(rvc, vocal, pitch_modification):
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