(model: str)
| 168 | |
| 169 | |
| 170 | def _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 | |
| 178 | def _local_indextts_cfg_path(model_dir: str) -> str: |
no test coverage detected