incercarea #22
Browse files- horoscop_neti.py +3 -6
horoscop_neti.py
CHANGED
@@ -69,12 +69,9 @@ class HoroscopNeti(GeneratorBasedBuilder):
|
|
69 |
|
70 |
if not os.path.isfile(audio_path):
|
71 |
continue
|
72 |
-
|
73 |
-
with open(audio_path, "rb") as audio_file:
|
74 |
-
audio_bytes = audio_file.read()
|
75 |
|
76 |
-
yield
|
77 |
-
"path":
|
78 |
-
"audio":
|
79 |
"transcript": row["transcript"],
|
80 |
}
|
|
|
69 |
|
70 |
if not os.path.isfile(audio_path):
|
71 |
continue
|
|
|
|
|
|
|
72 |
|
73 |
+
yield audio_path, {
|
74 |
+
"path": audio_path,
|
75 |
+
"audio": audio_path,
|
76 |
"transcript": row["transcript"],
|
77 |
}
|