change docker cmd

This commit is contained in:
2025-08-27 16:28:59 +08:00
parent 3f573e00ba
commit 313c06f441

View File

@@ -13,10 +13,10 @@ docker build -f ./Dockerfile.funasr-mlu370 -t <your_image> .
```shell ```shell
docker run -it \ docker run -it \
-v $PWD:/tmp/workspace \ -v $PWD:/tmp/workspace \
-v /model/SenseVoiceSmall:/model \ -v /model:/model \
--device=/dev/cambricon_dev0:/dev/cambricon_dev0 \ --device=/dev/cambricon_dev0:/dev/cambricon_dev0 \
--device=/dev/cambricon_ctl:/dev/cambricon_ctl \ --device=/dev/cambricon_ctl:/dev/cambricon_ctl \
-e MODEL_DIR=/model \ -e MODEL_DIR=/model/SenseVoiceSmall \
-e TEST_FILE=lei-jun-test.wav \ -e TEST_FILE=lei-jun-test.wav \
-e ANSWER_FILE=lei-jun.txt \ -e ANSWER_FILE=lei-jun.txt \
-e CUSTOM_DEVICE=MLU370 \ -e CUSTOM_DEVICE=MLU370 \