Dominik Macháček
commited on
Commit
·
483badf
1
Parent(s):
6242511
Update README.md
Browse filesso many "issues" with question about this :(
README.md
CHANGED
@@ -42,7 +42,7 @@ The unused one does not have to be installed. We integrate the following segment
|
|
42 |
|
43 |
## Usage
|
44 |
|
45 |
-
###
|
46 |
|
47 |
```
|
48 |
usage: whisper_online.py [-h] [--min-chunk-size MIN_CHUNK_SIZE] [--model {tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large}] [--model_cache_dir MODEL_CACHE_DIR] [--model_dir MODEL_DIR] [--lan LAN] [--task {transcribe,translate}]
|
@@ -149,7 +149,7 @@ print(o) # do something with the last output
|
|
149 |
online.init() # refresh if you're going to re-use the object for the next audio
|
150 |
```
|
151 |
|
152 |
-
### Server
|
153 |
|
154 |
`whisper_online_server.py` has the same model options as `whisper_online.py`, plus `--host` and `--port` of the TCP connection. See help message (`-h` option).
|
155 |
|
|
|
42 |
|
43 |
## Usage
|
44 |
|
45 |
+
### Real-time simulation from audio file
|
46 |
|
47 |
```
|
48 |
usage: whisper_online.py [-h] [--min-chunk-size MIN_CHUNK_SIZE] [--model {tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large}] [--model_cache_dir MODEL_CACHE_DIR] [--model_dir MODEL_DIR] [--lan LAN] [--task {transcribe,translate}]
|
|
|
149 |
online.init() # refresh if you're going to re-use the object for the next audio
|
150 |
```
|
151 |
|
152 |
+
### Server -- real-time from mic
|
153 |
|
154 |
`whisper_online_server.py` has the same model options as `whisper_online.py`, plus `--host` and `--port` of the TCP connection. See help message (`-h` option).
|
155 |
|