env var whisper model

This commit is contained in:
ricwo 2022-11-11 08:29:27 +01:00
parent a89e9d2ff6
commit 409da126af

View file

@ -8,7 +8,7 @@ services:
- "7000"
ports:
- "7000:7000"
command: whispering --language en --model medium --host 0.0.0.0 --port 7000 --device cuda --debug
command: whispering --language en --model ${WHISPER_MODEL} --host 0.0.0.0 --port 7000 --device cuda --debug
volumes:
- ~/.cache/whisper:/root/.cache/whisper/:ro
deploy:
@ -26,7 +26,7 @@ services:
- "7001:7001"
expose:
- "7001"
command: whispering --language en --model medium --host 0.0.0.0 --port 7001 --device cuda --debug
command: whispering --language en --model ${WHISPER_MODEL} --host 0.0.0.0 --port 7001 --device cuda --debug
volumes:
- ~/.cache/whisper:/root/.cache/whisper/:ro
deploy:
@ -44,7 +44,7 @@ services:
- "7002:7002"
expose:
- "7002"
command: whispering --language en --model medium --host 0.0.0.0 --port 7002 --device cuda --debug
command: whispering --language en --model ${WHISPER_MODEL} --host 0.0.0.0 --port 7002 --device cuda --debug
volumes:
- ~/.cache/whisper:/root/.cache/whisper/:ro
deploy:
@ -62,7 +62,7 @@ services:
- "7003:7003"
expose:
- "7003"
command: whispering --language en --model medium --host 0.0.0.0 --port 7003 --device cuda --debug
command: whispering --language en --model ${WHISPER_MODEL} --host 0.0.0.0 --port 7003 --device cuda --debug
volumes:
- ~/.cache/whisper:/root/.cache/whisper/:ro
deploy: