MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / resolve_model_root

Function resolve_model_root

src/models/omnivoice/loader.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace {
11
12runtime::ModelMetadata metadata(const OmniVoiceAssets & assets) {
13 runtime::ModelMetadata out;
14 out.family = "omnivoice";
15 out.variant = assets.config.model_type;
16 out.description = "OmniVoice multilingual TTS with voice clone and voice design pipelines.";
17 return out;
18}
19
20runtime::CapabilitySet capabilities(const OmniVoiceAssets & assets) {
21 runtime::CapabilitySet out;
22 out.supported_tasks = {
23 {runtime::VoiceTaskKind::Tts, {runtime::RunMode::Offline, runtime::RunMode::Streaming}},

Callers 5

discover_config_assetsFunction · 0.70
discover_weight_assetsFunction · 0.70
can_loadMethod · 0.70
inspectMethod · 0.70
loadMethod · 0.70

Calls 2

is_existing_directoryFunction · 0.85
is_existing_fileFunction · 0.85

Tested by

no test coverage detected