Download docker-compose.yml from AIOmarRehan/CV_Model_Comparison_in_PyTorch: direct link, hf CLI and curl.
- Browser
- Download file 649 Bytes
-
https://huggingface.co/spaces/AIOmarRehan/CV_Model_Comparison_in_PyTorch/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/AIOmarRehan/CV_Model_Comparison_in_PyTorch/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/AIOmarRehan/CV_Model_Comparison_in_PyTorch/resolve/main/docker-compose.yml
649 Bytes
| version: '3.8' | |
| services: | |
| unified-model-app: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: pytorch-unified-model-comparison | |
| ports: | |
| - "7860:7860" | |
| environment: | |
| PYTHONUNBUFFERED: 1 | |
| GRADIO_SERVER_NAME: 0.0.0.0 | |
| GRADIO_SERVER_PORT: 7860 | |
| volumes: | |
| # Optional: Mount models directory if you want to update models without rebuilding | |
| - ./models:/app/models | |
| restart: unless-stopped | |
| # Optional: Increase memory limit if needed | |
| # deploy: | |
| # resources: | |
| # limits: | |
| # memory: 8G | |
| # reservations: | |
| # memory: 4G | |