Download lgtm/__init__.py from polyskill/LGTM: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/polyskill/LGTM/resolve/main/lgtm/__init__.py
- Command line
-
hf download hf://polyskill/LGTM/lgtm/__init__.py
-
curl -L -o __init__.py https://huggingface.co/polyskill/LGTM/resolve/main/lgtm/__init__.py
533 Bytes
| """LGTM text-to-speech. `LGTMTTS` = PyTorch backend, `LGTMOnnx` = ONNX Runtime backend (no torch needed).""" | |
| def __getattr__(name): # lazy imports: the ONNX backend must not require torch | |
| if name in ("LGTMTTS", "load_voice_style", "save_voice_style"): | |
| from . import inference | |
| return getattr(inference, name) | |
| if name == "LGTM": | |
| from .model import LGTM | |
| return LGTM | |
| if name == "LGTMOnnx": | |
| from .onnx_inference import LGTMOnnx | |
| return LGTMOnnx | |
| raise AttributeError(name) | |