mirror of
https://github.com/shirayu/whispering.git
synced 2024-06-13 02:39:23 +00:00
env var whisper model
This commit is contained in:
parent
a89e9d2ff6
commit
409da126af
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue