doubility123 commited on
Commit
a27b3f8
·
1 Parent(s): 5c9ea2e

update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -77,49 +77,49 @@ IMAGE_TOKEN = "<image>"
77
  examples_list = [
78
  # visual grounding - 1
79
  [
80
- ["images/visual_grounding_1.jpeg"],
81
  "<|ref|>The giraffe at the back.<|/ref|>",
82
  ],
83
 
84
  # visual grounding - 2
85
  [
86
- ["images/visual_grounding_2.jpg"],
87
  "找到<|ref|>淡定姐<|/ref|>",
88
  ],
89
 
90
  # visual grounding - 3
91
  [
92
- ["images/visual_grounding_3.png"],
93
  "Find all the <|ref|>Watermelon slices<|/ref|>",
94
  ],
95
 
96
  # grounding conversation
97
  [
98
- ["images/grounding_conversation_1.jpeg"],
99
  "<|grounding|>I want to throw out the trash now, what should I do?",
100
  ],
101
 
102
  # in-context visual grounding
103
  [
104
  [
105
- "images/incontext_visual_grounding_1.jpeg",
106
- "images/icl_vg_2.jpeg"
107
  ],
108
  "<|grounding|>In the first image, an object within the red rectangle is marked. Locate the object of the same category in the second image."
109
  ],
110
 
111
  # vqa
112
  [
113
- ["images/vqa_1.jpg"],
114
  "Describe each stage of this image in detail",
115
  ],
116
 
117
  # multi-images
118
  [
119
  [
120
- "images/multi_image_1.jpeg",
121
- "images/mi_2.jpeg",
122
- "images/mi_3.jpeg"
123
  ],
124
  "能帮我用这几个食材做一道菜吗?",
125
  ]
 
77
  examples_list = [
78
  # visual grounding - 1
79
  [
80
+ ["./images/visual_grounding_1.jpeg"],
81
  "<|ref|>The giraffe at the back.<|/ref|>",
82
  ],
83
 
84
  # visual grounding - 2
85
  [
86
+ ["./images/visual_grounding_2.jpg"],
87
  "找到<|ref|>淡定姐<|/ref|>",
88
  ],
89
 
90
  # visual grounding - 3
91
  [
92
+ ["./images/visual_grounding_3.png"],
93
  "Find all the <|ref|>Watermelon slices<|/ref|>",
94
  ],
95
 
96
  # grounding conversation
97
  [
98
+ ["./images/grounding_conversation_1.jpeg"],
99
  "<|grounding|>I want to throw out the trash now, what should I do?",
100
  ],
101
 
102
  # in-context visual grounding
103
  [
104
  [
105
+ "./images/incontext_visual_grounding_1.jpeg",
106
+ "./images/icl_vg_2.jpeg"
107
  ],
108
  "<|grounding|>In the first image, an object within the red rectangle is marked. Locate the object of the same category in the second image."
109
  ],
110
 
111
  # vqa
112
  [
113
+ ["./images/vqa_1.jpg"],
114
  "Describe each stage of this image in detail",
115
  ],
116
 
117
  # multi-images
118
  [
119
  [
120
+ "./images/multi_image_1.jpeg",
121
+ "./images/mi_2.jpeg",
122
+ "./images/mi_3.jpeg"
123
  ],
124
  "能帮我用这几个食材做一道菜吗?",
125
  ]