https://github.com/andreykolomiets/local_speech_translator
Almost online speech translation on Apple Silicon laptops with CoreML enabled. Doesn't need any APIs, all work is done locally using OpenAI's excellent Whisper model. Also https://github.com/ggerganov/whisper.cpp repo is used to build Whisper with CoreML support, enhancing speed significantly
https://github.com/andreykolomiets/local_speech_translator
coreml dash fastapi hebrew hebrew-english whisper whisper-cpp
Last synced: 5 months ago
JSON representation
Almost online speech translation on Apple Silicon laptops with CoreML enabled. Doesn't need any APIs, all work is done locally using OpenAI's excellent Whisper model. Also https://github.com/ggerganov/whisper.cpp repo is used to build Whisper with CoreML support, enhancing speed significantly
- Host: GitHub
- URL: https://github.com/andreykolomiets/local_speech_translator
- Owner: AndreyKolomiets
- Created: 2024-12-06T16:13:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T07:24:16.000Z (over 1 year ago)
- Last Synced: 2025-05-13T00:04:49.193Z (about 1 year ago)
- Topics: coreml, dash, fastapi, hebrew, hebrew-english, whisper, whisper-cpp
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
usage: `./run_all.sh `
need to fill `.env` file first with the following variables:
```
DEFAULT_INPUT_DEVICE_NAME =
EXECUTABLE_PATH =
MODEL_PATH =
```
jupyter notebook will list all the devices available
ui will start at http://127.0.0.1:8050/
Tested on python 3.10