func -> call

This commit is contained in:
Ftps
2024-06-02 02:30:11 +09:00
parent 5e3dce38f4
commit 043fa4d750
6 changed files with 50 additions and 18 deletions
+1 -4
View File
@@ -38,8 +38,5 @@ from rvc.modules.uvr5.modules import UVR
help="output Format",
)
def uvr(modelname, inputpath, outputpath, format):
uvr_module = UVR()
uvr_module.uvr_wrapper(
inputpath, outputpath, model_name=modelname, export_format=format
)
UVR()(inputpath, outputpath, model_name=modelname, export_format=format)
click.echo(f"Finish uvr5. Check {outputpath}")