RamAnanth1 commited on
Commit
698ae10
·
1 Parent(s): 0f4deee

Update dataset/transcript_dataset.py

Browse files
Files changed (1) hide show
  1. dataset/transcript_dataset.py +3 -2
dataset/transcript_dataset.py CHANGED
@@ -9,9 +9,10 @@ from dataset.hf_dataset import HFDataset
9
 
10
  class TranscriptDataset(HFDataset):
11
 
12
- def __init__(self, name) -> None:
13
  self.name = name
14
- super().__init__(name)
 
15
 
16
  def generate_dataset(self, input, download_path, overwrite, whisper_config):
17
  if validators.url(input):
 
9
 
10
  class TranscriptDataset(HFDataset):
11
 
12
+ def __init__(self, name, token) -> None:
13
  self.name = name
14
+ self.token = token
15
+ super().__init__(name, token)
16
 
17
  def generate_dataset(self, input, download_path, overwrite, whisper_config):
18
  if validators.url(input):