Spaces:
Sleeping
Sleeping
Upload infertest.py
Browse files499 unmodified lines500501502503504505506507508509510511512513499 unmodified linescombined = vocal.overlay(instrumental)# Export the resultcombined.export("output/result/combine.mp3", 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):499 unmodified lines500501502503504505506507508499 unmodified linescombined = vocal.overlay(instrumental)# Export the resultcombined.export(output_path, format="mp3")#result = subprocess.run(command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)return output_path#def combine_vocal_and_inst(audio_data, vocal_volume, inst_volume):
infertest.py+2-7