Spaces:
Runtime error
Runtime error
Update TTS/vocoder/configs/hifigan_config.py
Browse files
TTS/vocoder/configs/hifigan_config.py
CHANGED
|
@@ -66,7 +66,7 @@ class HifiganConfig(BaseGANVocoderConfig):
|
|
| 66 |
L1 spectrogram loss parameters. Default to
|
| 67 |
`{
|
| 68 |
"use_mel": True,
|
| 69 |
-
"sample_rate":
|
| 70 |
"n_fft": 1024,
|
| 71 |
"hop_length": 256,
|
| 72 |
"win_length": 1024,
|
|
@@ -121,7 +121,7 @@ class HifiganConfig(BaseGANVocoderConfig):
|
|
| 121 |
l1_spec_loss_params: dict = field(
|
| 122 |
default_factory=lambda: {
|
| 123 |
"use_mel": True,
|
| 124 |
-
"sample_rate":
|
| 125 |
"n_fft": 1024,
|
| 126 |
"hop_length": 256,
|
| 127 |
"win_length": 1024,
|
|
|
|
| 66 |
L1 spectrogram loss parameters. Default to
|
| 67 |
`{
|
| 68 |
"use_mel": True,
|
| 69 |
+
"sample_rate": 24000,
|
| 70 |
"n_fft": 1024,
|
| 71 |
"hop_length": 256,
|
| 72 |
"win_length": 1024,
|
|
|
|
| 121 |
l1_spec_loss_params: dict = field(
|
| 122 |
default_factory=lambda: {
|
| 123 |
"use_mel": True,
|
| 124 |
+
"sample_rate": 24000,
|
| 125 |
"n_fft": 1024,
|
| 126 |
"hop_length": 256,
|
| 127 |
"win_length": 1024,
|