From 8c4854dc5c5f5fbab0d67b2f01f81fc26b2bd7a8 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Sat, 24 Sep 2022 21:54:25 +0900 Subject: [PATCH] Add README (Resolve #7) --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index a43653d..a1277f5 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,20 @@ poetry run whisper_streaming --language en --model base - ``-t`` sets temperatures to decode. You can set several like (``-t 0.0 -t 0.1 -t 0.5``), but too many temperatures exhaust decoding time - ``--debug`` outputs logs for debug +## Example of web socket + +**Please make secure with your responsibility.** + +```bash +# Host +poetry run whisper_streaming --language en --model base --host 0.0.0.0 --port 8000 +``` + +```bash +# Client +poetry run python -m whisper_streaming.websocket_client --host ADDRES_OF_HOST --port 8000 +``` + ## Tips ## PortAudio Error