Spaces:
Runtime error
Runtime error
Download mastering.py from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/main/mastering.py
- Command line
-
hf download hf://spaces/SE-09/HapticsProject/mastering.py
-
curl -L -o mastering.py https://huggingface.co/spaces/SE-09/HapticsProject/resolve/main/mastering.py
285 Bytes
| import subprocess | |
| def masterAudio(inputPath,outputPath): | |
| try: | |
| master = subprocess.run(["node", "masteringModule/main.js", "--input", inputPath, "--output", outputPath]) | |
| except subprocess.CalledProcessError as err: | |
| print("Error running Mastering Module: ", err) |