MCPcopy
hub / github.com/datascale-ai/opentalking / _local_audio_model_root

Function _local_audio_model_root

opentalking/providers/tts/factory.py:121–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119
120
121def _local_audio_model_root() -> Path:
122 raw = (
123 os.environ.get("OPENTALKING_LOCAL_AUDIO_MODEL_ROOT", "").strip()
124 or _settings_value("local_audio_model_root", "")
125 or "./models/local-audio"
126 )
127 return Path(raw).expanduser()
128
129
130def _local_cosyvoice_model_dir(model: str) -> str:

Callers 6

_local_audio_asset_dirFunction · 0.70

Calls 2

getMethod · 0.80
_settings_valueFunction · 0.70

Tested by

no test coverage detected