tahirsher commited on
Commit
a68fd86
·
verified ·
1 Parent(s): f0a5b40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,9 +14,9 @@ from datasets import load_dataset
14
  import torchaudio
15
  import torch
16
 
17
- # Load the "clean" LibriSpeech dataset
 
18
 
19
- dataset = load_dataset("librispeech_asr", "clean", split="train")
20
 
21
  # Function to load & resample audio
22
  def preprocess_audio(batch):
 
14
  import torchaudio
15
  import torch
16
 
17
+ # Fix: Add trust_remote_code=True
18
+ dataset = load_dataset("librispeech_asr", "clean", split="train", trust_remote_code=True)
19
 
 
20
 
21
  # Function to load & resample audio
22
  def preprocess_audio(batch):