Update script.py
Browse files
script.py
CHANGED
|
@@ -72,7 +72,7 @@ for el in tqdm.tqdm(dataset_remote):
|
|
| 72 |
|
| 73 |
# if you are using libraries that expect a file. You can use BytesIO object
|
| 74 |
# print("processing", el["id"])
|
| 75 |
-
|
| 76 |
try:
|
| 77 |
file_like = io.BytesIO(el["video"]["bytes"])
|
| 78 |
tensor = preprocess(file_like)
|
|
|
|
| 72 |
|
| 73 |
# if you are using libraries that expect a file. You can use BytesIO object
|
| 74 |
# print("processing", el["id"])
|
| 75 |
+
raise ValueError
|
| 76 |
try:
|
| 77 |
file_like = io.BytesIO(el["video"]["bytes"])
|
| 78 |
tensor = preprocess(file_like)
|