Rajagopal commited on
Commit
07ae18d
·
1 Parent(s): a48bf14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def video_text_zeroshot(image, text_list):
83
  return score_dict
84
 
85
  def doubleimage_text_zeroshot(image, image2, text_list):
86
- image_paths = [image]
87
  labels = [label.strip(" ") for label in text_list.strip(" ").split("|")]
88
  inputs = {
89
  ModalityType.TEXT: data.load_and_transform_text(labels, device),
 
83
  return score_dict
84
 
85
  def doubleimage_text_zeroshot(image, image2, text_list):
86
+ image_paths = [image, image2]
87
  labels = [label.strip(" ") for label in text_list.strip(" ").split("|")]
88
  inputs = {
89
  ModalityType.TEXT: data.load_and_transform_text(labels, device),