Adding Dutch locale build and some notes (#1126)

This commit is contained in:
Raivis Dejus 2025-03-22 22:19:54 +02:00 committed by GitHub
commit 404aecf75b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 29 additions and 13 deletions

1
.gitignore vendored
View file

@ -10,6 +10,7 @@ htmlcov/
coverage.xml
.idea/
.venv/
venv/
# whisper_cpp
libwhisper.*

View file

@ -213,6 +213,7 @@ translation_po_all:
$(MAKE) translation_po locale=ja_JP
$(MAKE) translation_po locale=da_DK
$(MAKE) translation_po locale=de_DE
$(MAKE) translation_po locale=nl
TMP_POT_FILE_PATH := $(shell mktemp)
PO_FILE_PATH := buzz/locale/${locale}/LC_MESSAGES/buzz.po

View file

@ -22,7 +22,7 @@ OpenAI's [Whisper](https://github.com/openai/whisper).
## Installation
**PyPI**:
### PyPI
Install [ffmpeg](https://www.ffmpeg.org/download.html)
@ -33,7 +33,7 @@ pip install buzz-captions
python -m buzz
```
**macOS**:
### macOS
Install with [brew utility](https://brew.sh/)
@ -43,7 +43,7 @@ brew install --cask buzz
Or download the `.dmg` from the [releases page](https://github.com/chidiwilliams/buzz/releases/latest).
**Windows**:
### Windows
Download and run the `.exe` from the [releases page](https://github.com/chidiwilliams/buzz/releases/latest).
@ -55,7 +55,16 @@ App is not signed, you will get a warning when you install it. Select `More info
winget install ChidiWilliams.Buzz
```
**Linux**:
**GPU support for PyPI**
To have GPU support for Nvidia GPUS on Windows, for PyPI installed version ensure, CUDA support for [torch](https://pytorch.org/get-started/locally/)
```
pip3 uninstall torch torchaudio
pip3 install torch==2.2.2+cu121 torchaudio==2.2.2+cu121 --index-url https://download.pytorch.org/whl/cu121
```
### Linux
Buzz is available as a [Flatpak](https://flathub.org/apps/io.github.chidiwilliams.Buzz) or a [Snap](https://snapcraft.io/buzz).

View file

@ -35,6 +35,7 @@ ui_locales = {
"en_US": _("English"),
"ca_ES": _("Catalan"),
"da_DK": _("Danish"),
"nl": _("Dutch"),
"de_DE": _("German"),
"es_ES": _("Spanish"),
"it_IT": _("Italian"),

View file

@ -71,7 +71,7 @@ Latest development version will have latest bug fixes and most recent features.
- **For other** platforms do the following:
1. Go to the [build section](https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain)
2. Click on the link to the latest build
2. Click on the link to the latest build, the most recent successful build entry in the list
3. Scroll down to the artifacts section in the build page
4. Download the installation file. Please note that you need to be logged in the Github to see the download links.

2
poetry.lock generated
View file

@ -5025,4 +5025,4 @@ type = ["pytest-mypy"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.9,<3.13"
content-hash = "e134bd5f4dbd048e49b54d71d11294792117d0f167b8c5f5be5e0407998cea52"
content-hash = "37bac8a0816d1719d4d23a35f654d7b47c9458a964066decd3fda53556b407e6"

View file

@ -54,7 +54,8 @@ yt-dlp = "^2025.2.19"
stable-ts = "^2.18.3"
faster-whisper = "^1.1.1"
openai-whisper = "^20240930"
transformers = "^4.49.0"
# transformers 4.50.0 has some bug
transformers = "4.49.0"
accelerate = "^1.0.1"
polib = "^1.2.0"
srt-equalizer = "^0.1.10"

View file

@ -1,14 +1,14 @@
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="100" y="100" width="824" height="824" rx="184" fill="#CD0000"/>
<rect x="100" y="100" width="824" height="824" rx="184" fill="url(#paint0_linear_1_2)"/>
<circle cx="512" cy="512" r="290" stroke="white" stroke-width="40"/>
<circle cx="512" cy="512" r="224" fill="url(#paint1_radial_1_2)"/>
<rect x="105" y="105" width="782.8" height="782.8" rx="174.8" fill="#CD0000"/>
<rect x="105" y="105" width="782.8" height="782.8" rx="174.8" fill="url(#paint0_linear_1_2)"/>
<circle cx="512" cy="512" r="275.5" stroke="white" stroke-width="38"/>
<circle cx="512" cy="512" r="212.8" fill="url(#paint1_radial_1_2)"/>
<defs>
<linearGradient id="paint0_linear_1_2" x1="512" y1="100" x2="512" y2="924" gradientUnits="userSpaceOnUse">
<linearGradient id="paint0_linear_1_2" x1="512" y1="105" x2="512" y2="919" gradientUnits="userSpaceOnUse">
<stop stop-color="#CD0000" stop-opacity="0"/>
<stop offset="1" stop-opacity="0.2"/>
</linearGradient>
<radialGradient id="paint1_radial_1_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(449.28 457.68) rotate(45) scale(302.529 345.057)">
<radialGradient id="paint1_radial_1_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(426.816 434.796) rotate(45) scale(287.402 327.804)">
<stop offset="0.578998" stop-color="white"/>
<stop offset="0.873177" stop-color="#E6E6E6"/>
</radialGradient>

Before

Width:  |  Height:  |  Size: 912 B

After

Width:  |  Height:  |  Size: 930 B

Before After
Before After

View file

@ -12,6 +12,9 @@
<p>
Buzz transcribes and translates audio to text offline using OpenAI&apos;s Whisper. Import audio and video files into Buzz and export them as TXT, SRT, or VTT files. Buzz supports Whisper, Whisper.cpp, Faster Whisper, Whisper-compatible models from the Hugging Face repository, and the OpenAI Whisper API.
</p>
<p>
Required permissions in Buzz will let you select audio and video files for transcription, from most common file location on your computer. Network permission is used to download transcription model files. Microphone permission lets you transcribe real time speech.
</p>
<p>
Note: If your system theme is not applied to Buzz, ensure it is in <code>~/.themes</code> folder. You may need to copy the system themes to this folder <code>cp -r /usr/share/themes/ ~/.themes/</code>.
</p>