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

Function _local_indextts_model_dir

opentalking/providers/tts/factory.py:170–175  ·  view source on GitHub ↗
(model: str)

Source from the content-addressed store, hash-verified

168
169
170def _local_indextts_model_dir(model: str) -> str:
171 return (
172 _provider_env("local_indextts", "MODEL_DIR")
173 or _settings_value("tts_local_indextts_model_dir", "")
174 or str(_local_audio_model_root() / model.replace("/", "__"))
175 )
176
177
178def _local_indextts_cfg_path(model_dir: str) -> str:

Callers 2

tts_provider_configFunction · 0.85
create_tts_adapterFunction · 0.85

Calls 3

_provider_envFunction · 0.70
_settings_valueFunction · 0.70
_local_audio_model_rootFunction · 0.70

Tested by

no test coverage detected