Skip to content

Commit

Permalink
add TODO comment
Browse files Browse the repository at this point in the history
Co-authored-by: Hyunjae Woo <[email protected]>
  • Loading branch information
mwawrzos and nv-hwoo authored Jul 29, 2024
1 parent 384bdee commit 05e81f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ def _get_input_dataset_from_file(cls, input_filename: Path) -> Dict:
dataset_json["features"] = [{"name": "text_input"}]
dataset_json["rows"] = []
for prompt, image in zip(prompts, images):
# (TMA-2004) support variable images per request through input file
content: Dict[str, Any] = {"text_input": prompt}
content.update({"images": [image]} if image else {})
dataset_json["rows"].append({"row": content})
Expand Down

0 comments on commit 05e81f3

Please sign in to comment.