Download Makefile from medicreal/program: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/spaces/medicreal/program/resolve/main/Makefile
- Command line
-
hf download hf://spaces/medicreal/program/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/medicreal/program/resolve/main/Makefile
659 Bytes
| .PHONY: | |
| .ONESHELL: | |
| # Show help message | |
| help: | |
| @grep -hE '^[A-Za-z0-9_ \-]*?:.*##.*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | |
| # Install dependencies | |
| run-install: | |
| apt-get -y install build-essential python3-dev ffmpeg | |
| pip install --upgrade setuptools wheel | |
| pip install --upgrade pip | |
| pip install faiss-gpu fairseq gradio ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.1 | |
| pip install -r requirements.txt | |
| pip install --upgrade lxml | |
| apt-get update | |
| # Run Applio | |
| run-applio: | |
| python app.py | |
| # Run Tensorboard | |
| run-tensorboard: | |
| python core.py tensorboard | |