Upload folder using huggingface_hub
Browse files- yodas_sample.py +2 -2
yodas_sample.py
CHANGED
|
@@ -118,7 +118,7 @@ class YodasSample(datasets.GeneratorBasedBuilder):
|
|
| 118 |
row = row.strip().split(maxsplit=1)
|
| 119 |
utt2text[row[0]] = row[1]
|
| 120 |
|
| 121 |
-
print("utt2text")
|
| 122 |
#print(utt2text)
|
| 123 |
|
| 124 |
for path, audio_f in tar_file:
|
|
@@ -126,7 +126,7 @@ class YodasSample(datasets.GeneratorBasedBuilder):
|
|
| 126 |
|
| 127 |
path = Path(path)
|
| 128 |
utt_id = path.stem
|
| 129 |
-
print("utt_id ", utt_id)
|
| 130 |
|
| 131 |
if utt_id in utt2text:
|
| 132 |
print("processing ", utt_id)
|
|
|
|
| 118 |
row = row.strip().split(maxsplit=1)
|
| 119 |
utt2text[row[0]] = row[1]
|
| 120 |
|
| 121 |
+
#print("utt2text")
|
| 122 |
#print(utt2text)
|
| 123 |
|
| 124 |
for path, audio_f in tar_file:
|
|
|
|
| 126 |
|
| 127 |
path = Path(path)
|
| 128 |
utt_id = path.stem
|
| 129 |
+
#print("utt_id ", utt_id)
|
| 130 |
|
| 131 |
if utt_id in utt2text:
|
| 132 |
print("processing ", utt_id)
|