Skip to content

Commit ac1679a

Browse files
committed
add trust_remote_code=True
1 parent 95ee9ac commit ac1679a

File tree

1 file changed

+1
-1
lines changed
  • AI-and-Analytics/End-to-end-Workloads/LanguageIdentification/Dataset

1 file changed

+1
-1
lines changed

AI-and-Analytics/End-to-end-Workloads/LanguageIdentification/Dataset/get_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def download_dataset(output_dir):
1414
print(f"Processing dataset for language: {lang_code}")
1515

1616
# Load the dataset for the specific language
17-
dataset = load_dataset("mozilla-foundation/common_voice_11_0", lang_code, split="train")
17+
dataset = load_dataset("mozilla-foundation/common_voice_11_0", lang_code, split="train", trust_remote_code=True)
1818

1919
# Create a language-specific output folder
2020
output_folder = os.path.join(output_dir, lang, lang_code, "clips")

0 commit comments

Comments
 (0)