nielsr HF staff commited on
Commit
4b5eae4
1 Parent(s): 289d97a

Add missing imports

Browse files
Files changed (1) hide show
  1. XFUN.py +3 -0
XFUN.py CHANGED
@@ -5,6 +5,9 @@ import os
5
 
6
  import datasets
7
 
 
 
 
8
  from transformers import AutoTokenizer
9
 
10
  def load_image(image_path):
 
5
 
6
  import datasets
7
 
8
+ from PIL import Image
9
+ import numpy as np
10
+
11
  from transformers import AutoTokenizer
12
 
13
  def load_image(image_path):