xcczach commited on
Commit
9dc3ae7
·
verified ·
1 Parent(s): 0f2c748

Delete configuration_gpt_sovits.py

Browse files
Files changed (1) hide show
  1. configuration_gpt_sovits.py +0 -25
configuration_gpt_sovits.py DELETED
@@ -1,25 +0,0 @@
1
- from transformers import PretrainedConfig
2
- import torch
3
-
4
-
5
- class GPTSoVITSConfig(PretrainedConfig):
6
- model_type = "gpt_sovits"
7
-
8
- def __init__(
9
- self,
10
- prompt_language: str="zh",
11
- _hubert_config_dict: dict[str, any] = None,
12
- _hubert_extractor_config_dict: dict[str, any] = None,
13
- _bert_config_dict: dict[str, any] = None,
14
- _hps_dict: dict[str, any] = None,
15
- _gpt_config_dict: dict[str, any] = None,
16
- **kwargs
17
- ):
18
- self.prompt_language = prompt_language
19
- self._hubert_config_dict = _hubert_config_dict
20
- self._hubert_extractor_config_dict = _hubert_extractor_config_dict
21
- self._bert_config_dict = _bert_config_dict
22
- self._hps_dict = _hps_dict
23
- self._gpt_config_dict = _gpt_config_dict
24
-
25
- super().__init__(**kwargs)