Spaces:
Runtime error
Runtime error
version: "3.7" | |
services: | |
whisper_large_v2_service: | |
image: docker.mofid.dev/mofid/ai/whisper-large-v2-huggingface:v1.0 | |
environment: | |
- GIT_PYTHON_REFRESH=quiet | |
- HUGGINGFACE_HUB_CACHE=/home/user/temp/.cache | |
- TRANSFORMERS_CACHE=/home/user/temp/.cache | |
- HF_HOME=/home/user/temp/.cache | |
- TORCH_HOME=/home/user/temp/torch | |
- TRANSFORMERS_OFFLINE=1 | |
tty: true | |
stdin_open: true | |
volumes: | |
- ./Cache/:/home/user/temp/torch | |
- ./Cache/:/home/user/temp/.cache | |
build: | |
context: . | |
container_name: whisper_large_v2 | |
command: python app.py | |
ports: | |
- 8007:7860 | |
deploy: | |
resources: | |
reservations: | |
devices: | |
- driver: nvidia | |
device_ids: ["3"] | |
capabilities: [gpu] | |