Add voice control mode, OmniVoice worker and managed voice studios

This commit is contained in:
Mikei386 committed 2026-10-04 21:14:49 +02:00
1 parent 260740994f
commit 5fa8e6de90
33 files changed
+411 -64

No files matched your search

+5
View File
@@ -4,6 +4,11 @@ from profiles import QWEN_REPO,FLUX_REPO
from tts_runtime import REPO,REVISION
class ExecutionSetupTests(unittest.TestCase):
def check(self,kind,repo,file,installed=None,**extra):return assess(dict(kind=kind,repo=repo,file=file,**extra),installed or {})
def test_omnivoice_uses_own_runtime_and_audio_tokenizer_is_component(self):
result=self.check('voice','k2-fsa/OmniVoice','model.safetensors',{'omnivoice':True})
self.assertEqual(result['family'],'OmniVoice');self.assertEqual(result['candidates'][0]['id'],'omnivoice')
self.assertTrue(result['candidates'][0]['installed'])
self.assertEqual(self.check('voice','k2-fsa/OmniVoice','audio_tokenizer/model.safetensors')['state'],'component')
def test_unknown_and_asr_not_llama(self):
for kind in ['stt','music','voice','video','image','audio']:
self.assertEqual(self.check(kind,'other/model','model.gguf')['state'],'unsupported')