ktrapeznikov commited on
Commit
2905f64
·
verified ·
1 Parent(s): 70933bd

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +1 -1
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)