Merge pull request #178 from k0sm0naft/refactor/backend-package

refactor: move backend implementations to tts_backends package
This commit is contained in:
Deniz Şafak
2026-07-06 14:50:16 +03:00
committed by GitHub
12 changed files with 17 additions and 17 deletions
@@ -32,7 +32,7 @@ def test_preview_applies_manual_override_before_normalization(monkeypatch):
monkeypatch.setitem(
__import__("sys").modules,
"abogen.tts_supertonic",
"abogen.tts_backends.supertonic",
type("M", (), {"SupertonicPipeline": DummyPipeline}),
)
@@ -1,6 +1,6 @@
import numpy as np
from abogen.tts_supertonic import SupertonicPipeline
from abogen.tts_backends.supertonic import SupertonicPipeline
class _DummyTTS:
+1 -1
View File
@@ -1,7 +1,7 @@
from __future__ import annotations
from abogen.webui.conversion_runner import _resolve_voice, _supertonic_voice_from_spec
from abogen.tts_supertonic import DEFAULT_SUPERTONIC_VOICES
from abogen.tts_backends.supertonic import DEFAULT_SUPERTONIC_VOICES
def test_resolve_voice_formula_without_pipeline_does_not_crash() -> None: