aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_tts.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-31 14:08:36 -0400
committerhistoria <historiavg@proton.me>2026-08-31 14:08:36 -0400
commit3b109185d642319c2c1870815b25ae1c0ad49445 (patch)
tree475bdac0f98de68d99b1c8ce251c74a092d507cb /app/tests/test_tts.py
parenta0e3050c6e1e43df3941077afa4ade9a1c4d6ce4 (diff)
downloadtts-audiobook-generator-3b109185d642319c2c1870815b25ae1c0ad49445.tar.gz
feat: model capabilities lined up in tui menu
Diffstat (limited to 'app/tests/test_tts.py')
-rw-r--r--app/tests/test_tts.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/tests/test_tts.py b/app/tests/test_tts.py
index 9067443..67c81f8 100644
--- a/app/tests/test_tts.py
+++ b/app/tests/test_tts.py
@@ -1135,12 +1135,12 @@ class AudioCppFamilyVoicePolicyTests(unittest.TestCase):
def setUp(self):
# Seed the spec cache instead of reading the (gitignored, setup-
# downloaded) checkout's model_specs, so the tests are hermetic.
- cache = audiocpp_client._FAMILY_SPEC_TASKS
+ cache = audiocpp_client._FAMILY_SPECS
cache.clear()
cache.update({
- "higgs_audio_tts": {"tts", "clone"},
- "supertonic": {"tts"},
- "confucius4_tts": {"clone"},
+ "higgs_audio_tts": {"tasks": ["tts", "clone"]},
+ "supertonic": {"tasks": ["tts"]},
+ "confucius4_tts": {"tasks": ["clone"]},
})
self.addCleanup(cache.clear)