Download ecodec_fast/__init__.py from ESpeech/ECodec-FAST: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/ESpeech/ECodec-FAST/resolve/main/ecodec_fast/__init__.py
- Command line
-
hf download hf://ESpeech/ECodec-FAST/ecodec_fast/__init__.py
-
curl -L -o __init__.py https://huggingface.co/ESpeech/ECodec-FAST/resolve/main/ecodec_fast/__init__.py
501 Bytes
| """ECodec-FAST: ECodec 44.1 kHz encoder + RVQ (10 codebooks @21.53 Hz) + binned-F0 nano-NSF 24 kHz decoder. | |
| from ecodec_fast import ECodecFast, NanoDecoderV2 | |
| """ | |
| import os as _os | |
| import sys as _sys | |
| _HERE = _os.path.dirname(_os.path.abspath(__file__)) | |
| if _HERE not in _sys.path: # the modules import each other by bare name | |
| _sys.path.insert(0, _HERE) | |
| from codec_fast import ECodecFast # noqa: E402 | |
| from decoder import NanoDecoderV2 # noqa: E402 | |
| __all__ = ["ECodecFast", "NanoDecoderV2"] | |