Duy1332002 commited on
Commit
140f1b5
1 Parent(s): db91132

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -40,7 +40,7 @@ def extract_image(image_bytes):
40
 
41
  dataset = load_dataset("Vividbot/instruct500k_vi", name="all", streaming=True)
42
 
43
- image_bytes = next(iter(dataset))["image"]
44
  image = extract_image(image_bytes)
45
  print(f"Image shape: {image.shape}")
46
  ```
 
40
 
41
  dataset = load_dataset("Vividbot/instruct500k_vi", name="all", streaming=True)
42
 
43
+ image_bytes = next(iter(dataset["train"]))["image"]
44
  image = extract_image(image_bytes)
45
  print(f"Image shape: {image.shape}")
46
  ```