Jietson commited on
Commit
0dcb582
·
verified ·
1 Parent(s): de5c903

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -5
README.md CHANGED
@@ -77,8 +77,8 @@ Each question entry is arranged as:
77
  Each question is built as:
78
 
79
  ```
80
- image_input: figure_path, visual_figure_path_1...visual_figure_path_n (if any)
81
- text_iunput: prompt (if any) + question + options (if any) + instructions (if any)
82
  ```
83
 
84
  # Evaluate
@@ -106,10 +106,11 @@ for query in tqdm(queries):
106
  query_idx = query["question_id"]
107
  question_text = build_question(query)
108
  chart_figure = query["url"] # This should be a list of url
109
- visual_figure = query.get("visual_figure_path",[])
110
-
 
111
  # Replace with your model
112
- response = model.generate(question_text, chart_figure + visual_figure)
113
 
114
 
115
  Responses[query_idx] = {
 
77
  Each question is built as:
78
 
79
  ```
80
+ image_input: url (may need to download for models that don't support url input)
81
+ text_iunput: question + instructions (if any)
82
  ```
83
 
84
  # Evaluate
 
106
  query_idx = query["question_id"]
107
  question_text = build_question(query)
108
  chart_figure = query["url"] # This should be a list of url
109
+ """
110
+ Note that for models that do not support url input, you may need to download images first.
111
+ """
112
  # Replace with your model
113
+ response = model.generate(question_text, chart_figure)
114
 
115
 
116
  Responses[query_idx] = {