Spaces:
Running
Running
Update TTS/vocoder/configs/univnet_config.py
Browse files
TTS/vocoder/configs/univnet_config.py
CHANGED
@@ -24,7 +24,7 @@ class UnivnetConfig(BaseGANVocoderConfig):
|
|
24 |
`
|
25 |
{
|
26 |
"use_mel": True,
|
27 |
-
"sample_rate":
|
28 |
"n_fft": 1024,
|
29 |
"hop_length": 256,
|
30 |
"win_length": 1024,
|
@@ -69,7 +69,7 @@ class UnivnetConfig(BaseGANVocoderConfig):
|
|
69 |
L1 spectrogram loss parameters. Default to
|
70 |
`{
|
71 |
"use_mel": True,
|
72 |
-
"sample_rate":
|
73 |
"n_fft": 1024,
|
74 |
"hop_length": 256,
|
75 |
"win_length": 1024,
|
@@ -136,7 +136,7 @@ class UnivnetConfig(BaseGANVocoderConfig):
|
|
136 |
l1_spec_loss_params: Dict = field(
|
137 |
default_factory=lambda: {
|
138 |
"use_mel": True,
|
139 |
-
"sample_rate":
|
140 |
"n_fft": 1024,
|
141 |
"hop_length": 256,
|
142 |
"win_length": 1024,
|
|
|
24 |
`
|
25 |
{
|
26 |
"use_mel": True,
|
27 |
+
"sample_rate": 24000,
|
28 |
"n_fft": 1024,
|
29 |
"hop_length": 256,
|
30 |
"win_length": 1024,
|
|
|
69 |
L1 spectrogram loss parameters. Default to
|
70 |
`{
|
71 |
"use_mel": True,
|
72 |
+
"sample_rate": 24000,
|
73 |
"n_fft": 1024,
|
74 |
"hop_length": 256,
|
75 |
"win_length": 1024,
|
|
|
136 |
l1_spec_loss_params: Dict = field(
|
137 |
default_factory=lambda: {
|
138 |
"use_mel": True,
|
139 |
+
"sample_rate": 24000,
|
140 |
"n_fft": 1024,
|
141 |
"hop_length": 256,
|
142 |
"win_length": 1024,
|