Spaces:
Sleeping
Sleeping
Add CLI to README
Browse files
README.md
CHANGED
@@ -24,6 +24,19 @@ Finally, run the full version (no audio length restrictions) of the app:
|
|
24 |
python app-full.py
|
25 |
```
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
# Docker
|
28 |
|
29 |
To run it in Docker, first install Docker and optionally the NVIDIA Container Toolkit in order to use the GPU. Then
|
|
|
24 |
python app-full.py
|
25 |
```
|
26 |
|
27 |
+
You can also run the CLI interface, which is similar to Whisper's own CLI but also supports the following additional arguments>
|
28 |
+
```
|
29 |
+
python cli.py \
|
30 |
+
[--vad {none,silero-vad,silero-vad-skip-gaps,periodic-vad}] \
|
31 |
+
[--vad_merge_window VAD_MERGE_WINDOW] \
|
32 |
+
[--vad_max_merge_size VAD_MAX_MERGE_SIZE] \
|
33 |
+
[--vad_padding VAD_PADDING]
|
34 |
+
```
|
35 |
+
In addition, you may also use URL's in addition to file paths as input.
|
36 |
+
```
|
37 |
+
python cli.py --model large --vad silero-vad --language Japanese "https://www.youtube.com/watch?v=4cICErqqRSM"
|
38 |
+
```
|
39 |
+
|
40 |
# Docker
|
41 |
|
42 |
To run it in Docker, first install Docker and optionally the NVIDIA Container Toolkit in order to use the GPU. Then
|