aadnk commited on
Commit
aa22372
1 Parent(s): a34af3d

Add cache information

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -45,5 +45,8 @@ sudo docker run -d -p 7860:7860 whisper-webui:1
45
  ## Caching
46
 
47
  Note that the models themselves are currently not included in the Docker images, and will be downloaded on the demand.
48
- To avoid this, bind the directory /root/.cache/whisper to some directory on the host, where you can (optionally)
49
- prepopulate the directory with the different Whisper models.
 
 
 
 
45
  ## Caching
46
 
47
  Note that the models themselves are currently not included in the Docker images, and will be downloaded on the demand.
48
+ To avoid this, bind the directory /root/.cache/whisper to some directory on the host (for instance /home/administrator/.cache/whisper), where you can (optionally)
49
+ prepopulate the directory with the different Whisper models.
50
+ ```
51
+ sudo docker run -d --gpus=all -p 7860:7860 --mount type=bind,source=/home/administrator/.cache/whisper,target=/root/.cache/whisper whisper-webui:1
52
+ ```