Spaces:
Runtime error
Runtime error
Download Makefile from regisklaconsulting/Drug-Classifier-Web-App: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/regisklaconsulting/Drug-Classifier-Web-App/resolve/main/Makefile
- Command line
-
hf download hf://spaces/regisklaconsulting/Drug-Classifier-Web-App/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/regisklaconsulting/Drug-Classifier-Web-App/resolve/main/Makefile
361 Bytes
| format: | |
| black -v app | |
| hf-login: | |
| pip install -U "huggingface_hub[cli]" | |
| huggingface-cli login --token $(HF_TOKEN) --add-to-git-credential | |
| hf-push-model: | |
| huggingface-cli upload $(HF_REPO_ID) $(MODEL_LOCAL_PATH) $(MODEL_REMOTE_PATH) --repo-type=space --commit-message="Sync model prediction pipeline" | |
| deploy: hf-login hf-push-model | |
| all: format deploy | |