From 365e037b26c38485fb4f5ba833415297769b16f9 Mon Sep 17 00:00:00 2001 From: Marcus Edel Date: Tue, 11 Jul 2023 13:09:09 -0400 Subject: [PATCH] Rename Chrome extension directory to match the rest. --- .../README.md | 0 .../background.js | 0 .../content.js | 0 .../icon128.png | Bin .../manifest.json | 0 .../options.html | 0 .../options.js | 0 .../popup.html | 0 .../popup.js | 0 .../style.css | 0 README.md | 11 ++++------- 11 files changed, 4 insertions(+), 7 deletions(-) rename {Audio-Transcription => Audio-Transcription-Chrome}/README.md (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/background.js (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/content.js (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/icon128.png (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/manifest.json (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/options.html (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/options.js (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/popup.html (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/popup.js (100%) rename {Audio-Transcription => Audio-Transcription-Chrome}/style.css (100%) diff --git a/Audio-Transcription/README.md b/Audio-Transcription-Chrome/README.md similarity index 100% rename from Audio-Transcription/README.md rename to Audio-Transcription-Chrome/README.md diff --git a/Audio-Transcription/background.js b/Audio-Transcription-Chrome/background.js similarity index 100% rename from Audio-Transcription/background.js rename to Audio-Transcription-Chrome/background.js diff --git a/Audio-Transcription/content.js b/Audio-Transcription-Chrome/content.js similarity index 100% rename from Audio-Transcription/content.js rename to Audio-Transcription-Chrome/content.js diff --git a/Audio-Transcription/icon128.png b/Audio-Transcription-Chrome/icon128.png similarity index 100% rename from Audio-Transcription/icon128.png rename to Audio-Transcription-Chrome/icon128.png diff --git a/Audio-Transcription/manifest.json b/Audio-Transcription-Chrome/manifest.json similarity index 100% rename from Audio-Transcription/manifest.json rename to Audio-Transcription-Chrome/manifest.json diff --git a/Audio-Transcription/options.html b/Audio-Transcription-Chrome/options.html similarity index 100% rename from Audio-Transcription/options.html rename to Audio-Transcription-Chrome/options.html diff --git a/Audio-Transcription/options.js b/Audio-Transcription-Chrome/options.js similarity index 100% rename from Audio-Transcription/options.js rename to Audio-Transcription-Chrome/options.js diff --git a/Audio-Transcription/popup.html b/Audio-Transcription-Chrome/popup.html similarity index 100% rename from Audio-Transcription/popup.html rename to Audio-Transcription-Chrome/popup.html diff --git a/Audio-Transcription/popup.js b/Audio-Transcription-Chrome/popup.js similarity index 100% rename from Audio-Transcription/popup.js rename to Audio-Transcription-Chrome/popup.js diff --git a/Audio-Transcription/style.css b/Audio-Transcription-Chrome/style.css similarity index 100% rename from Audio-Transcription/style.css rename to Audio-Transcription-Chrome/style.css diff --git a/README.md b/README.md index 9039b97..8bf582d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ Unlike traditional speech recognition systems that rely on continuous audio stre python client.py --host "localhost" --port "9090" ``` - ## Transcribe audio from browser - Run the server ```bash @@ -47,11 +46,10 @@ Unlike traditional speech recognition systems that rely on continuous audio stre This would start the websocket server on port ```9090```. ### Chrome Extension -- Head over to ```Audio-Transcription``` module to unpack and load a chrome extension to capture any audio in the browser and send it to the websocket server to transcribe the audio in the current tab. +- Refer to [Audio-Transcription-Chrome](https://github.com/collabora/whisper-live/tree/main/Audio-Transcription-Chrome#readme) to use Chrome extension. ### Firefox Extension -- Refer to [Audio-Transcription-Firefox](https://github.com/collabora/whisper-live/tree/main/Audio-Transcription-Firefox#readme) to use mozilla firefox extension. - +- Refer to [Audio-Transcription-Firefox](https://github.com/collabora/whisper-live/tree/main/Audio-Transcription-Firefox#readme) to use Mozilla Firefox extension. ## Whisper Live Server in Docker - Build docker container @@ -64,7 +62,6 @@ This would start the websocket server on port ```9090```. docker run -it --gpus all -p 9090:9090 whisper-live:latest ``` - ## Future Work - [ ] Update Documentation. - [x] 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. @@ -76,7 +73,7 @@ This would start the websocket server on port ```9090```. title = {Robust Speech Recognition via Large-Scale Weak Supervision}, url = {https://arxiv.org/abs/2212.04356}, author = {Radford, Alec and Kim, Jong Wook and Xu, Tao and Brockman, Greg and McLeavey, Christine and Sutskever, Ilya}, - publisher = {arXiv}, + publisher = {arXiv}, year = {2022}, } ``` @@ -91,4 +88,4 @@ This would start the websocket server on port ```9090```. howpublished = {\url{https://github.com/snakers4/silero-vad}}, commit = {insert_some_commit_here}, email = {hello@silero.ai} -} \ No newline at end of file +}