Kamtera commited on
Commit
7ff0400
1 Parent(s): d40fb39

Upload ParsiGoo.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. ParsiGoo.py +2 -7
ParsiGoo.py CHANGED
@@ -3,12 +3,7 @@ import datasets
3
  logger = datasets.logging.get_logger(__name__)
4
  datasets.logging.set_verbosity(20)
5
 
6
- _speaker_names = [
7
- 'ariana_Male2',
8
- 'moujeze_Female1',
9
- 'ariana_Male1',
10
- 'ariana_Female1'
11
- ]
12
  class ParsiGoo(datasets.GeneratorBasedBuilder):
13
  VERSION = datasets.Version("1.0.0")
14
 
@@ -38,7 +33,7 @@ class ParsiGoo(datasets.GeneratorBasedBuilder):
38
  data_dir = os.path.join(data_dir, "datasets")
39
  print("| > data_dir =",data_dir)
40
  meta_files = []
41
- speaker_names = _speaker_names
42
  root_path = ""
43
  print("| > listdir =",os.listdir(data_dir))
44
  for speaker_name in os.listdir(data_dir):
 
3
  logger = datasets.logging.get_logger(__name__)
4
  datasets.logging.set_verbosity(20)
5
 
6
+
 
 
 
 
 
7
  class ParsiGoo(datasets.GeneratorBasedBuilder):
8
  VERSION = datasets.Version("1.0.0")
9
 
 
33
  data_dir = os.path.join(data_dir, "datasets")
34
  print("| > data_dir =",data_dir)
35
  meta_files = []
36
+ speaker_names = os.listdir(data_dir)
37
  root_path = ""
38
  print("| > listdir =",os.listdir(data_dir))
39
  for speaker_name in os.listdir(data_dir):