Spaces:
Build error
Build error
Download Makefile from mozaloom/Text-Summarizer-HF: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/mozaloom/Text-Summarizer-HF/resolve/main/Makefile
- Command line
-
hf download hf://spaces/mozaloom/Text-Summarizer-HF/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/mozaloom/Text-Summarizer-HF/resolve/main/Makefile
352 Bytes
| install: | |
| pip install --upgrade pip &&\ | |
| pip install -r requirements.txt | |
| pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu | |
| lint: | |
| pylint --disable=R,C,W1203,W0702 app.py | |
| test: | |
| python -m pytest -vv --cov=app test_*.py | |
| format: | |
| black *.py | |
| run: | |
| python app.py | |
| all: install lint test format |