theodotus commited on
Commit
cd7ea66
·
1 Parent(s): 733506d

Added get photos

Browse files
Files changed (1) hide show
  1. utils.py +4 -0
utils.py CHANGED
@@ -42,6 +42,10 @@ class Test:
42
  image_path = f"images/{idx}.jpg"
43
  return image_path
44
 
 
 
 
 
45
  def convert_to_answer_ids(self, responces):
46
  answer_ids = []
47
  for idx, responce in enumerate(responces):
 
42
  image_path = f"images/{idx}.jpg"
43
  return image_path
44
 
45
+ def get_photos_path(self, idx):
46
+ image_path = f"photos/{idx}.jpg"
47
+ return image_path
48
+
49
  def convert_to_answer_ids(self, responces):
50
  answer_ids = []
51
  for idx, responce in enumerate(responces):