Spaces:
Running
on
Zero
Running
on
Zero
import subprocess | |
import sys | |
def install_fluidsynth(): | |
try: | |
subprocess.check_call([ | |
'conda', 'install', '-c', 'conda-forge', 'fluidsynth', '-y' | |
]) | |
except subprocess.CalledProcessError as e: | |
sys.exit(e.returncode) | |
if __name__ == "__main__": | |
install_fluidsynth() | |