Spaces:
Runtime error
Runtime error
Update TTS/config/shared_configs.py
Browse files
TTS/config/shared_configs.py
CHANGED
|
@@ -31,7 +31,7 @@ class BaseAudioConfig(Coqpit):
|
|
| 31 |
Padding method used in STFT. 'reflect' or 'center'. Defaults to 'reflect'.
|
| 32 |
|
| 33 |
sample_rate (int):
|
| 34 |
-
Audio sampling rate. Defaults to
|
| 35 |
|
| 36 |
resample (bool):
|
| 37 |
Enable / Disable resampling audio to ```sample_rate```. Defaults to ```False```.
|
|
@@ -120,7 +120,7 @@ class BaseAudioConfig(Coqpit):
|
|
| 120 |
frame_length_ms: int = None
|
| 121 |
stft_pad_mode: str = "reflect"
|
| 122 |
# audio processing parameters
|
| 123 |
-
sample_rate: int =
|
| 124 |
resample: bool = False
|
| 125 |
preemphasis: float = 0.0
|
| 126 |
ref_level_db: int = 20
|
|
|
|
| 31 |
Padding method used in STFT. 'reflect' or 'center'. Defaults to 'reflect'.
|
| 32 |
|
| 33 |
sample_rate (int):
|
| 34 |
+
Audio sampling rate. Defaults to 24000.
|
| 35 |
|
| 36 |
resample (bool):
|
| 37 |
Enable / Disable resampling audio to ```sample_rate```. Defaults to ```False```.
|
|
|
|
| 120 |
frame_length_ms: int = None
|
| 121 |
stft_pad_mode: str = "reflect"
|
| 122 |
# audio processing parameters
|
| 123 |
+
sample_rate: int = 24000
|
| 124 |
resample: bool = False
|
| 125 |
preemphasis: float = 0.0
|
| 126 |
ref_level_db: int = 20
|