Commit
·
a451611
1
Parent(s):
177e39c
Update test.py
Browse files
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"] =
|
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
|