Spaces:
Sleeping
Sleeping
Update data_preparation.py
Browse files- data_preparation.py +2 -0
data_preparation.py
CHANGED
|
@@ -9,6 +9,8 @@ from scipy.io.wavfile import read
|
|
| 9 |
from text import text_to_sequence
|
| 10 |
from hyper_parameters import tacotron_params
|
| 11 |
|
|
|
|
|
|
|
| 12 |
|
| 13 |
class DataPreparation(torch.utils.data.Dataset):
|
| 14 |
|
|
|
|
| 9 |
from text import text_to_sequence
|
| 10 |
from hyper_parameters import tacotron_params
|
| 11 |
|
| 12 |
+
torch.manual_seed(1234)
|
| 13 |
+
|
| 14 |
|
| 15 |
class DataPreparation(torch.utils.data.Dataset):
|
| 16 |
|