Skip to content

Fixes the preset-voice bugs and bumps the version to 1.0.1. - #11

Merged
IgorSwat merged 1 commit into
mainfrom
fix/1.0.1
Nov 24, 2026
Merged

IgorSwat merged 1 commit into
mainfrom
fix/1.0.1

Conversation

@benITo47

Copy link
Copy Markdown
Collaborator

Changes

  • UTF-8 reads. Voice.load and Network.load read their JSON with the system's encoding, which is cp1252 on Windows. The fr and es preset transcripts loaded garbled, and since the transcript conditions generation, those takes came out wrong.
  • Presets work offline. preset_voice() listed the Hub repo on every call, so it failed under HF_HUB_OFFLINE even with the voice cached. It now loads the file directly and lists the repo only to build the "unknown preset voice" error.
  • Presets pinned to v1.0.0. Presets came from main, so a change to voices/ there changed what installed releases got. They now use the same revision as the weights.
  • reverb_tts.__version__, read from the package metadata.
  • No nanobind "leaked type" warnings at exit. The cached Verbalizers are cleared before Verbalis unloads.

Testing

  • pytest: 50 passed.
  • The fr preset loads with its accents intact.
  • With HF_HUB_OFFLINE=1, a cached preset loads.
  • An unknown name still lists the available voices.
  • The nanobind warning didn't reproduce on macOS, so the exit cleanup is untested.

@IgorSwat
IgorSwat merged commit f975fb7 into main Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants