Spaces:
Runtime error
Runtime error
Download docker-compose.yml from rizgiak/table-caption-extraction: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/rizgiak/table-caption-extraction/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/rizgiak/table-caption-extraction/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/rizgiak/table-caption-extraction/resolve/main/docker-compose.yml
451 Bytes
| version: "3.7" | |
| services: | |
| model_name: | |
| build: | |
| context: . | |
| dockerfile: .docker/Dockerfile | |
| container_name: model_name | |
| ports: | |
| - "8996:8996" | |
| env_file: | |
| - ./.env | |
| volumes: | |
| - ./data:/home/working/data:ro | |
| # This part is used to enable GPU support | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: 1 | |
| capabilities: [ gpu ] | |