Spaces:
Sleeping
Sleeping
Download modules/F0Predictor/F0Predictor.py from Asankilp/sovits-gochiusa-webui: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/spaces/Asankilp/sovits-gochiusa-webui/resolve/main/modules/F0Predictor/F0Predictor.py
- Command line
-
hf download hf://spaces/Asankilp/sovits-gochiusa-webui/modules/F0Predictor/F0Predictor.py
-
curl -L -o F0Predictor.py https://huggingface.co/spaces/Asankilp/sovits-gochiusa-webui/resolve/main/modules/F0Predictor/F0Predictor.py
421 Bytes
| class F0Predictor(object): | |
| def compute_f0(self,wav,p_len): | |
| ''' | |
| input: wav:[signal_length] | |
| p_len:int | |
| output: f0:[signal_length//hop_length] | |
| ''' | |
| pass | |
| def compute_f0_uv(self,wav,p_len): | |
| ''' | |
| input: wav:[signal_length] | |
| p_len:int | |
| output: f0:[signal_length//hop_length],uv:[signal_length//hop_length] | |
| ''' | |
| pass |