Spaces:
Runtime error
Runtime error
Download configs/JSUT.py from fishaudio/fish-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 778 Bytes
-
https://huggingface.co/spaces/fishaudio/fish-diffusion/resolve/refs%2Fpr%2F4/configs/JSUT.py
- Command line
-
hf download hf://spaces/fishaudio/fish-diffusion@refs/pr/4/configs/JSUT.py
-
curl -L -o JSUT.py https://huggingface.co/spaces/fishaudio/fish-diffusion/resolve/refs%2Fpr%2F4/configs/JSUT.py
778 Bytes
| _base_ = [ | |
| "./_base_/archs/hifi_svc.py", | |
| ] | |
| speaker_mapping = {'jsut': 0,} | |
| model = dict( | |
| type="HiFiSVC", | |
| speaker_encoder=dict( | |
| input_size=len(speaker_mapping), | |
| ), | |
| ) | |
| preprocessing = dict( | |
| text_features_extractor=dict( | |
| type="ContentVec", | |
| ), | |
| pitch_extractor=dict( | |
| type="ParselMouthPitchExtractor", | |
| keep_zeros=False, | |
| f0_min=40.0, | |
| f0_max=1600.0, | |
| ), | |
| energy_extractor=dict( | |
| type="RMSEnergyExtractor", | |
| ), | |
| augmentations=[ | |
| dict( | |
| type="RandomPitchShifting", | |
| key_shifts=[-5., 5.], | |
| probability=1.5, | |
| ), | |
| dict( | |
| type="RandomTimeStretching", | |
| factors=[0.8, 1.2], | |
| probability=0.75, | |
| ) | |
| ], | |
| ) |