Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
7f18090
1
Parent(s):
7a9ed86
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def inference(audio1, audio2):
|
|
19 |
os.rename(audio2.name, '2.wav')
|
20 |
os.system('ls')
|
21 |
os.system("python convert_example.py -s 1.wav -r 2.wav -c converted -m 'checkpoints/useCSMITrue_useCPMITrue_usePSMITrue_useAmpTrue/VQMIVC-model.ckpt-500.pt'")
|
22 |
-
out =
|
23 |
return out
|
24 |
|
25 |
inputs = [gr.inputs.Audio(label="Source Audio", type='file'),gr.inputs.Audio(label="Reference Audio", type='file')]
|
|
|
19 |
os.rename(audio2.name, '2.wav')
|
20 |
os.system('ls')
|
21 |
os.system("python convert_example.py -s 1.wav -r 2.wav -c converted -m 'checkpoints/useCSMITrue_useCPMITrue_usePSMITrue_useAmpTrue/VQMIVC-model.ckpt-500.pt'")
|
22 |
+
out = "1_converted_gen.wav"
|
23 |
return out
|
24 |
|
25 |
inputs = [gr.inputs.Audio(label="Source Audio", type='file'),gr.inputs.Audio(label="Reference Audio", type='file')]
|