Datasets:
Merge branch 'main' of hf.co:datasets/Yehor/tts-mykyta-uk
Browse files- README.md +4 -0
- add_audio_field.py +0 -15
README.md
CHANGED
@@ -34,6 +34,10 @@ configs:
|
|
34 |
- Speech Recognition: https://t.me/speech_recognition_uk
|
35 |
- Speech Synthesis: https://t.me/speech_synthesis_uk
|
36 |
|
|
|
|
|
|
|
|
|
37 |
## Development
|
38 |
|
39 |
```
|
|
|
34 |
- Speech Recognition: https://t.me/speech_recognition_uk
|
35 |
- Speech Synthesis: https://t.me/speech_synthesis_uk
|
36 |
|
37 |
+
## License
|
38 |
+
|
39 |
+
All licenses are listed in https://github.com/egorsmkv/ukrainian-tts-datasets
|
40 |
+
|
41 |
## Development
|
42 |
|
43 |
```
|
add_audio_field.py
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
from datasets import load_dataset, Audio
|
2 |
-
|
3 |
-
dataset = load_dataset('json', data_files="train.jsonl")
|
4 |
-
print(dataset)
|
5 |
-
|
6 |
-
dataset_audio = dataset.cast_column(
|
7 |
-
"audio", Audio(sampling_rate=48_000, mono=True, decode=True)
|
8 |
-
)
|
9 |
-
print(dataset_audio)
|
10 |
-
|
11 |
-
train_set = dataset_audio['train']
|
12 |
-
|
13 |
-
train_set.to_parquet("train.parquet")
|
14 |
-
|
15 |
-
print(train_set[1])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|