All checks were successful
Build and Publish / build-and-publish (push) Successful in 21s
- Add GitHub Actions workflow for building and publishing packages. - Introduce `pyproject.toml` for project metadata and dependency management. - Remove `requirements.txt` in favor of Poetry for dependency handling. - Restructure source files under `src/pyvtt` for better organization. - Enhance `notify.py` with sound playback and improve error handling. - Update `voice_to_text_tray.py` to support dynamic configuration reload. - Add `.vscode/settings.json` for improved IDE configuration. - Update `.gitignore` to exclude build artifacts. Signed-off-by: Max P. <Mail@MPassarello.de>
37 lines
907 B
Markdown
37 lines
907 B
Markdown
# pyvtt
|
|
|
|
Python Voice to Text
|
|
|
|
|
|
## Requirements
|
|
|
|
### Python
|
|
|
|
Create a virtual environment and activate it:
|
|
|
|
```bash
|
|
python3 -m venv venv
|
|
source venv/bin/activate
|
|
```
|
|
|
|
Install the required Python packages with the `requirements.txt` file:
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
- Python 3.6 or higher
|
|
- pip
|
|
- requests
|
|
- PyQt5
|
|
|
|
### Software
|
|
|
|
- [Whisper.cpp](https://github.com/ggerganov/whisper.cpp)
|
|
- [ffmpeg](https://ffmpeg.org/)
|
|
- [notify-send](https://manpages.ubuntu.com/manpages/bionic/man1/notify-send.1.html)
|
|
- [ollama](https://ollama.com/)
|
|
|
|
## Copyright
|
|
|
|
- The Notification sound: <a href="https://pixabay.com/de/users/rasoolasaad-47313572/?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=269292">Rasool Asaad</a> from <a href="https://pixabay.com/sound-effects//?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=269292">Pixabay</a> |