iulik-pisik commited on
Commit
6e71e2e
·
verified ·
1 Parent(s): 961eb78

incercarea #22

Browse files
Files changed (1) hide show
  1. 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 row["path"], {
77
- "path": row["path"],
78
- "audio": {"path": audio_path, "bytes": audio_bytes},
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
  }