Spaces:
Running on Zero
Running on Zero
Download models/codec/speechtokenizer/modules/quantization/__init__.py from amphion/maskgct: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/spaces/amphion/maskgct/resolve/main/models/codec/speechtokenizer/modules/quantization/__init__.py
- Command line
-
hf download hf://spaces/amphion/maskgct/models/codec/speechtokenizer/modules/quantization/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/amphion/maskgct/resolve/main/models/codec/speechtokenizer/modules/quantization/__init__.py
506 Bytes
| # Copyright (c) 2023 Amphion. | |
| # | |
| # This source code is licensed under the MIT license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| # This source file is copied from https://github.com/facebookresearch/encodec | |
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| # flake8: noqa | |
| from .vq import QuantizedResult, ResidualVectorQuantizer | |