nielsr HF staff commited on
Commit
7efade5
1 Parent(s): 6e37eb9

Update funsd-layoutlmv3.py

Browse files
Files changed (1) hide show
  1. funsd-layoutlmv3.py +2 -0
funsd-layoutlmv3.py CHANGED
@@ -5,6 +5,8 @@ Reference: https://huggingface.co/datasets/nielsr/funsd/blob/main/funsd.py
5
  import json
6
  import os
7
 
 
 
8
  import datasets
9
 
10
  def load_image(image_path):
 
5
  import json
6
  import os
7
 
8
+ from PIL import Image
9
+
10
  import datasets
11
 
12
  def load_image(image_path):