Georgios Spithourakis
commited on
Commit
·
04f7599
1
Parent(s):
b92c1dd
Update evi.py
Browse files
evi.py
CHANGED
|
@@ -151,7 +151,7 @@ class Evi(datasets.GeneratorBasedBuilder):
|
|
| 151 |
audio_path = audio_paths[lang]
|
| 152 |
with open(text_path, encoding="utf-8") as fin:
|
| 153 |
reader = csv.DictReader(
|
| 154 |
-
fin, delimiter="
|
| 155 |
)
|
| 156 |
for dictrow in reader:
|
| 157 |
dialogue_id = dictrow["dialogue_id"]
|
|
|
|
| 151 |
audio_path = audio_paths[lang]
|
| 152 |
with open(text_path, encoding="utf-8") as fin:
|
| 153 |
reader = csv.DictReader(
|
| 154 |
+
fin, delimiter=",", skipinitialspace=True
|
| 155 |
)
|
| 156 |
for dictrow in reader:
|
| 157 |
dialogue_id = dictrow["dialogue_id"]
|