Upload ParsiGoo.py with huggingface_hub
Browse files- ParsiGoo.py +1 -0
ParsiGoo.py
CHANGED
@@ -35,6 +35,7 @@ class ParsiGoo(datasets.GeneratorBasedBuilder):
|
|
35 |
# logger.info(os.path.join(os.path.dirname(os.path.abspath(__file__)), "datasets"))
|
36 |
data_dir = dl_manager.download_and_extract("https://huggingface.co/datasets/Kamtera/ParsiGoo/resolve/main/datasets.zip")
|
37 |
# data_dir="datasets"
|
|
|
38 |
print("| > data_dir =",data_dir)
|
39 |
meta_files = []
|
40 |
speaker_names = _speaker_names
|
|
|
35 |
# logger.info(os.path.join(os.path.dirname(os.path.abspath(__file__)), "datasets"))
|
36 |
data_dir = dl_manager.download_and_extract("https://huggingface.co/datasets/Kamtera/ParsiGoo/resolve/main/datasets.zip")
|
37 |
# data_dir="datasets"
|
38 |
+
data_dir = os.path.join(data_dir, "datasets")
|
39 |
print("| > data_dir =",data_dir)
|
40 |
meta_files = []
|
41 |
speaker_names = _speaker_names
|