From 2c7416386ce2a2939ccaf2f63efbf9e0e450801b Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Fri, 2 Jun 2023 01:36:55 +0800 Subject: [PATCH] update Readme --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9eca80c..3d5127f 100644 --- a/README.md +++ b/README.md @@ -30,24 +30,26 @@ Unlike traditional speech recognition systems that rely on continuous audio stre - On the client side - To transcribe an audio file: ```bash - python client.py --audio "audio.wav" + python client.py --audio "audio.wav" --host "localhost" --port "9090" ``` - To transcribe from microphone: ```bash - python client.py + python client.py --host "localhost" --port "9090" ``` ## Transcribe audio from browser -- Run the websocket-server +- Run the server ```bash - python websocket_server.py + python server.py ``` This would start the websocket server on port ```9090```. + - Head over to ```Audio-Transcription``` module to unpack and load a chrome extension to capture any audio in the browser(only Chrome for now) and send it to the websocket server to transcribe the audio in the current tab. + ## Future Work - [ ] Update Documentation. - [ ] Keep only a single server implementation i.e. websockets and get rid of the socket implementation in ```server.py```. Also, update ```client.py``` to websockets-client implemenation.