Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def convert(input_file):
|
|
13 |
sound.export("input/audio/upload.wav", format="wav")
|
14 |
|
15 |
model_name = "bmo-rev2"
|
16 |
-
model_path = "
|
17 |
keychange = "0"
|
18 |
|
19 |
subprocess.run(['python', 'DDSP-SVC/main.py', '-i', "input/audio/upload.wav", '-m', f'{model_path}/{model_name}.pt', '-o', 'result.wav', '-k', keychange, '-eak', '0'])
|
|
|
13 |
sound.export("input/audio/upload.wav", format="wav")
|
14 |
|
15 |
model_name = "bmo-rev2"
|
16 |
+
model_path = "models"
|
17 |
keychange = "0"
|
18 |
|
19 |
subprocess.run(['python', 'DDSP-SVC/main.py', '-i', "input/audio/upload.wav", '-m', f'{model_path}/{model_name}.pt', '-o', 'result.wav', '-k', keychange, '-eak', '0'])
|