Spaces:
Running
Running
jhj0517
commited on
Commit
·
6227586
1
Parent(s):
dc0e286
edit README
Browse files
README.md
CHANGED
|
@@ -46,19 +46,30 @@ And you can also run the project with command line arguments if you like by runn
|
|
| 46 |
|
| 47 |
## Using Docker
|
| 48 |
|
| 49 |
-
1.
|
| 50 |
|
| 51 |
```sh
|
| 52 |
docker build -t whisper-webui:latest .
|
| 53 |
```
|
| 54 |
|
| 55 |
-
2.
|
| 56 |
|
|
|
|
| 57 |
```sh
|
| 58 |
docker run --gpus all -d \
|
| 59 |
-v /path/to/models:/Whisper-WebUI/models \
|
| 60 |
-v /path/to/outputs:/Whisper-WebUI/outputs \
|
| 61 |
-p 7860:7860 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
whisper-webui:latest --server_name 0.0.0.0 --server_port 7860
|
| 63 |
```
|
| 64 |
|
|
|
|
| 46 |
|
| 47 |
## Using Docker
|
| 48 |
|
| 49 |
+
1. Build the image
|
| 50 |
|
| 51 |
```sh
|
| 52 |
docker build -t whisper-webui:latest .
|
| 53 |
```
|
| 54 |
|
| 55 |
+
2. Run the container with commands
|
| 56 |
|
| 57 |
+
- For bash :
|
| 58 |
```sh
|
| 59 |
docker run --gpus all -d \
|
| 60 |
-v /path/to/models:/Whisper-WebUI/models \
|
| 61 |
-v /path/to/outputs:/Whisper-WebUI/outputs \
|
| 62 |
-p 7860:7860 \
|
| 63 |
+
-it \
|
| 64 |
+
whisper-webui:latest --server_name 0.0.0.0 --server_port 7860
|
| 65 |
+
```
|
| 66 |
+
- For PowerShell:
|
| 67 |
+
```shell
|
| 68 |
+
docker run --gpus all -d `
|
| 69 |
+
-v /path/to/models:/Whisper-WebUI/models `
|
| 70 |
+
-v /path/to/outputs:/Whisper-WebUI/outputs `
|
| 71 |
+
-p 7860:7860 `
|
| 72 |
+
-it `
|
| 73 |
whisper-webui:latest --server_name 0.0.0.0 --server_port 7860
|
| 74 |
```
|
| 75 |
|