Datasets:
Tasks:
Text-to-Speech
Modalities:
Audio
Formats:
soundfolder
Languages:
Hausa
Size:
1K - 10K
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -62,10 +62,14 @@ Each example contains:
|
|
| 62 |
To ensure all audio files are available, download the entire dataset first:
|
| 63 |
|
| 64 |
```python
|
| 65 |
-
from huggingface_hub import snapshot_download
|
| 66 |
from datasets import load_dataset, Audio
|
| 67 |
import os
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
# Download entire dataset (parquet + all audio files)
|
| 70 |
print("Downloading dataset (~2GB)...")
|
| 71 |
local_dir = snapshot_download(
|
|
|
|
| 62 |
To ensure all audio files are available, download the entire dataset first:
|
| 63 |
|
| 64 |
```python
|
| 65 |
+
from huggingface_hub import snapshot_download, login
|
| 66 |
from datasets import load_dataset, Audio
|
| 67 |
import os
|
| 68 |
|
| 69 |
+
# Login to HuggingFace (to avoid rate limits)
|
| 70 |
+
# Get your token from: https://huggingface.co/settings/tokens
|
| 71 |
+
login() # Will prompt for token in Colab, or use: login(token="your_token_here")
|
| 72 |
+
|
| 73 |
# Download entire dataset (parquet + all audio files)
|
| 74 |
print("Downloading dataset (~2GB)...")
|
| 75 |
local_dir = snapshot_download(
|