ProgramComputer commited on
Commit
a451611
·
1 Parent(s): 177e39c

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +3 -3
test.py CHANGED
@@ -341,8 +341,8 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
341
  info["audio"] = info["file"]
342
  if conf.startswith("video"):
343
  with fs.open(info["file"], 'r') as f:
344
- buffer = BytesIO()
345
- f.write(buffer)
346
- info["video"] = buffer.getvalue()
347
  yield key, info
348
  key += 1
 
341
  info["audio"] = info["file"]
342
  if conf.startswith("video"):
343
  with fs.open(info["file"], 'r') as f:
344
+ #buffer = BytesIO()
345
+ #f.write(buffer)
346
+ info["video"] = f.read()
347
  yield key, info
348
  key += 1