Spaces:
Sleeping
Sleeping
Upload infertest.py
Browse files499 unmodified lines500501502503504503504505506507508509510506507508499 unmodified lines combined = vocal.overlay(instrumental)
# Export the result combined.export("output/result/combine.mp3", format="mp3")] combined.export(output_path, format="mp3")
#result = subprocess.run(command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE) result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) if result.stderr: print("Error:", result.stderr.decode()) else: print("Success:", result.stdout.decode()) return output_path #def combine_vocal_and_inst(audio_data, vocal_volume, inst_volume):infertest.py+2-7