Download docker-compose.yaml from LAP-DEV/Demo: direct link, hf CLI and curl.
- Browser
- Download file 879 Bytes
-
https://huggingface.co/spaces/LAP-DEV/Demo/resolve/211f5551305a84e384a47d308595401cdd920a7f/docker-compose.yaml
- Command line
-
hf download hf://spaces/LAP-DEV/Demo@211f5551305a84e384a47d308595401cdd920a7f/docker-compose.yaml
-
curl -L -o docker-compose.yaml https://huggingface.co/spaces/LAP-DEV/Demo/resolve/211f5551305a84e384a47d308595401cdd920a7f/docker-compose.yaml
879 Bytes
| services: | |
| app: | |
| build: . | |
| image: whisper-webui:latest | |
| volumes: | |
| # You can mount the container's volume paths to directory paths on your local machine. | |
| # Models will be stored in the `./models' directory on your machine. | |
| # Similarly, all output files will be stored in the `./outputs` directory. | |
| - ./models:/Whisper-WebUI/models | |
| - ./outputs:/Whisper-WebUI/outputs | |
| ports: | |
| - "7860:7860" | |
| stdin_open: true | |
| tty: true | |
| entrypoint: ["python", "app.py", "--server_port", "7860", "--server_name", "0.0.0.0",] | |
| # If you're not using nvidia GPU, Update device to match yours. | |
| # See more info at : https://docs.docker.com/compose/compose-file/deploy/#driver | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: all | |
| capabilities: [ gpu ] | |