Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,8 @@ def vocal_remove(audio):
|
|
6 |
mr = project.get_model_registry()
|
7 |
model = mr.get_best_model()
|
8 |
model_path = model.download()
|
9 |
-
|
10 |
-
subprocess.run(["inference", "
|
11 |
-
|
12 |
-
|
13 |
return audio
|
14 |
|
15 |
iface = gr.Interface(
|
|
|
6 |
mr = project.get_model_registry()
|
7 |
model = mr.get_best_model()
|
8 |
model_path = model.download()
|
9 |
+
model_path_pth = model_path + "/vocal_model.pth"
|
10 |
+
subprocess.run(["python", "inference.py", "--input", audio, "--pretrained_model", model_path_pth])
|
|
|
|
|
11 |
return audio
|
12 |
|
13 |
iface = gr.Interface(
|