This commit is contained in:
Yuta Hayashibe 2022-09-25 00:48:27 +09:00
parent 6ac27504df
commit 8483238e84

View file

@ -45,13 +45,17 @@ poetry run whisper_streaming --language en --model base -n 20 --allow-padding
⚠ **No security mechanism. Please make secure with your responsibility.** ⚠ **No security mechanism. Please make secure with your responsibility.**
### Host
Run with ``--host`` and ```--port``. You can set``-n`` and other options as use with microphone.
```bash ```bash
# Host
poetry run whisper_streaming --language en --model base --host 0.0.0.0 --port 8000 poetry run whisper_streaming --language en --model base --host 0.0.0.0 --port 8000
``` ```
### Client
```bash ```bash
# Client
poetry run python -m whisper_streaming.websocket_client --host ADDRESS_OF_HOST --port 8000 poetry run python -m whisper_streaming.websocket_client --host ADDRESS_OF_HOST --port 8000
``` ```