Spaces:
Runtime error
Runtime error
File size: 802 Bytes
73472e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
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]
|