Update README
Browse files
README.md
CHANGED
@@ -144,10 +144,11 @@ sudo docker run -d --gpus=all -p 7860:7860 registry.gitlab.com/aadnk/whisper-web
|
|
144 |
|
145 |
## Custom Arguments
|
146 |
|
147 |
-
You can also pass custom arguments to `app.py` in the Docker container, for instance to be able to use all the GPUs in parallel:
|
148 |
```
|
149 |
sudo docker run -d --gpus all -p 7860:7860 \
|
150 |
--mount type=bind,source=/home/administrator/.cache/whisper,target=/root/.cache/whisper \
|
|
|
151 |
--restart=on-failure:15 registry.gitlab.com/aadnk/whisper-webui:latest \
|
152 |
app.py --input_audio_max_duration -1 --server_name 0.0.0.0 --auto_parallel True \
|
153 |
--default_vad silero-vad --default_model_name large
|
@@ -157,6 +158,7 @@ You can also call `cli.py` the same way:
|
|
157 |
```
|
158 |
sudo docker run --gpus all \
|
159 |
--mount type=bind,source=/home/administrator/.cache/whisper,target=/root/.cache/whisper \
|
|
|
160 |
--mount type=bind,source=${PWD},target=/app/data \
|
161 |
registry.gitlab.com/aadnk/whisper-webui:latest \
|
162 |
cli.py --model large --auto_parallel True --vad silero-vad \
|
|
|
144 |
|
145 |
## Custom Arguments
|
146 |
|
147 |
+
You can also pass custom arguments to `app.py` in the Docker container, for instance to be able to use all the GPUs in parallel (replace administrator with your user):
|
148 |
```
|
149 |
sudo docker run -d --gpus all -p 7860:7860 \
|
150 |
--mount type=bind,source=/home/administrator/.cache/whisper,target=/root/.cache/whisper \
|
151 |
+
--mount type=bind,source=/home/administrator/.cache/huggingface,target=/root/.cache/huggingface \
|
152 |
--restart=on-failure:15 registry.gitlab.com/aadnk/whisper-webui:latest \
|
153 |
app.py --input_audio_max_duration -1 --server_name 0.0.0.0 --auto_parallel True \
|
154 |
--default_vad silero-vad --default_model_name large
|
|
|
158 |
```
|
159 |
sudo docker run --gpus all \
|
160 |
--mount type=bind,source=/home/administrator/.cache/whisper,target=/root/.cache/whisper \
|
161 |
+
--mount type=bind,source=/home/administrator/.cache/huggingface,target=/root/.cache/huggingface \
|
162 |
--mount type=bind,source=${PWD},target=/app/data \
|
163 |
registry.gitlab.com/aadnk/whisper-webui:latest \
|
164 |
cli.py --model large --auto_parallel True --vad silero-vad \
|