Kamtera commited on
Commit
00a1b44
1 Parent(s): 16a800e

Upload ParsiGoo.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. ParsiGoo.py +2 -1
ParsiGoo.py CHANGED
@@ -33,12 +33,13 @@ class ParsiGoo(datasets.GeneratorBasedBuilder):
33
  print("4544444")
34
  print(dl_manager.manual_dir)
35
  # logger.info(os.path.join(os.path.dirname(os.path.abspath(__file__)), "datasets"))
36
- data_dir = dl_manager.download("datasets")
37
  # data_dir="datasets"
38
  print(data_dir)
39
  meta_files = []
40
  speaker_names = _speaker_names
41
  root_path = ""
 
42
  for speaker_name in speaker_names:
43
  # if not os.path.isdir(os.path.join(data_dir, speaker_name)):
44
  # continue
 
33
  print("4544444")
34
  print(dl_manager.manual_dir)
35
  # logger.info(os.path.join(os.path.dirname(os.path.abspath(__file__)), "datasets"))
36
+ data_dir = dl_manager.extract("datasets.zip")
37
  # data_dir="datasets"
38
  print(data_dir)
39
  meta_files = []
40
  speaker_names = _speaker_names
41
  root_path = ""
42
+ print(os.listdir(data_dir))
43
  for speaker_name in speaker_names:
44
  # if not os.path.isdir(os.path.join(data_dir, speaker_name)):
45
  # continue