Aybee5 commited on
Commit
495c7eb
·
verified ·
1 Parent(s): 958260d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +5 -1
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(