Commit
·
efd7f5b
1
Parent(s):
a451611
Update test.py
Browse files
test.py
CHANGED
@@ -340,7 +340,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
340 |
if conf.startswith("audio"):
|
341 |
info["audio"] = info["file"]
|
342 |
if conf.startswith("video"):
|
343 |
-
with fs.open(info["file"], '
|
344 |
#buffer = BytesIO()
|
345 |
#f.write(buffer)
|
346 |
info["video"] = f.read()
|
|
|
340 |
if conf.startswith("audio"):
|
341 |
info["audio"] = info["file"]
|
342 |
if conf.startswith("video"):
|
343 |
+
with fs.open(info["file"], 'rb') as f:
|
344 |
#buffer = BytesIO()
|
345 |
#f.write(buffer)
|
346 |
info["video"] = f.read()
|