jhj0517 commited on
Commit
ea7fc1c
1 Parent(s): 9c3ceed

Update README.md for docker

Browse files
Files changed (1) hide show
  1. README.md +14 -19
README.md CHANGED
@@ -54,33 +54,28 @@ And you can also run the project with command line arguments if you like to, see
54
 
55
  - ## Running with Docker
56
 
57
- 1. Build the image
58
 
59
  ```sh
60
- docker build -t whisper-webui:latest .
61
- ```
62
 
63
- 2. Run the container with commands
64
 
65
- - For bash :
66
  ```sh
67
- docker run --gpus all -d \
68
- -v /path/to/models:/Whisper-WebUI/models \
69
- -v /path/to/outputs:/Whisper-WebUI/outputs \
70
- -p 7860:7860 \
71
- -it \
72
- whisper-webui:latest --server_name 0.0.0.0 --server_port 7860
73
  ```
74
- - For PowerShell:
75
- ```shell
76
- docker run --gpus all -d `
77
- -v /path/to/models:/Whisper-WebUI/models `
78
- -v /path/to/outputs:/Whisper-WebUI/outputs `
79
- -p 7860:7860 `
80
- -it `
81
- whisper-webui:latest --server_name 0.0.0.0 --server_port 7860
82
  ```
83
 
 
 
 
 
84
  # VRAM Usages
85
  This project is integrated with [faster-whisper](https://github.com/guillaumekln/faster-whisper) by default for better VRAM usage and transcription speed.
86
 
 
54
 
55
  - ## Running with Docker
56
 
57
+ 1. Git clone the repository
58
 
59
  ```sh
60
+ git clone https://github.com/jhj0517/Whisper-WebUI.git
61
+ ``
62
 
63
+ 2. Build the image ( Image is about ~7GB )
64
 
 
65
  ```sh
66
+ docker compose build
 
 
 
 
 
67
  ```
68
+
69
+ 3. Run the container
70
+
71
+ ```sh
72
+ docker compose up
 
 
 
73
  ```
74
 
75
+ 4. Connect to the WebUI with your browser at `http://localhost:7860`
76
+
77
+ If needed, update the [`docker-compose.yaml`](https://github.com/jhj0517/Whisper-WebUI/blob/master/docker-compose.yaml) to match your environment.
78
+
79
  # VRAM Usages
80
  This project is integrated with [faster-whisper](https://github.com/guillaumekln/faster-whisper) by default for better VRAM usage and transcription speed.
81