Spaces:
Sleeping
Sleeping
Download Makefile from cvachet/object_detection_lambda: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/cvachet/object_detection_lambda/resolve/52e52a0beea2d4a2cabbb68cdfbcdf88cf359e0a/Makefile
- Command line
-
hf download hf://spaces/cvachet/object_detection_lambda@52e52a0beea2d4a2cabbb68cdfbcdf88cf359e0a/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/cvachet/object_detection_lambda/resolve/52e52a0beea2d4a2cabbb68cdfbcdf88cf359e0a/Makefile
480 Bytes
| lint: # Lints our code. | |
| python -m pylint ./ | |
| black: # Formats our code. | |
| python -m black ./ | |
| refactor: # Refactor our code. | |
| black lint | |
| test: # Runs tests. | |
| python -m pytest tests | |
| # Set the image name | |
| IMAGE_NAME := object-detection-lambda | |
| TAG := latest | |
| # Targets | |
| docker-build: | |
| docker build -t $(IMAGE_NAME):$(TAG) . | |
| docker-run: | |
| docker run -it --rm $(IMAGE_NAME):$(TAG) | |