Instructions to use justanurag/maya-mac with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use justanurag/maya-mac with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download justanurag/maya-mac --local-dir maya-mac
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download src/maya_mac/__init__.py from justanurag/maya-mac: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/justanurag/maya-mac/resolve/main/src/maya_mac/__init__.py
- Command line
-
hf download hf://justanurag/maya-mac/src/maya_mac/__init__.py
-
curl -L -o __init__.py https://huggingface.co/justanurag/maya-mac/resolve/main/src/maya_mac/__init__.py
381 Bytes
| """Maya TTS inference for Apple Silicon (MPS) and CPU, built on the maya-research/maya2-native weights.""" | |
| __all__ = ["MayaTTS", "EngineConfig"] | |
| def __getattr__(name): | |
| if name in __all__: | |
| from maya_mac import engine | |
| return getattr(engine, name) | |
| raise AttributeError(name) | |
| def main() -> None: | |
| from maya_mac.cli import main as cli_main | |
| cli_main() | |