Spaces:
Running on Zero
Running on Zero
Download processors/text_features_extractor.py from Amphion/maskgct: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/spaces/Amphion/maskgct/resolve/main/processors/text_features_extractor.py
- Command line
-
hf download hf://spaces/Amphion/maskgct/processors/text_features_extractor.py
-
curl -L -o text_features_extractor.py https://huggingface.co/spaces/Amphion/maskgct/resolve/main/processors/text_features_extractor.py
508 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. | |
| """ | |
| TODO: | |
| This module aims to be an entrance that integrates all the "text" features extraction functions. | |
| The common text features include: | |
| 1. phone features that are used for TTS, SVS, etc. | |
| Note: | |
| All the features extraction are designed to utilize GPU to the maximum extent, which can ease the on-the-fly extraction for large-scale dataset. | |
| """ | |