Skip to content

Commit

Permalink
fix url issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kennymckormick committed Apr 3, 2024
1 parent fb77f55 commit ccc482f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vlmeval/api/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ def preproc_content(self, inputs):
elif self.check_content(inputs) == 'listdict':
for item in inputs:
assert 'type' in item and 'value' in item
mime, s = parse_file(item['value'])
assert mime.split('/')[0] == item['type']
item['value'] = s
return inputs
else:
return None
Expand Down

0 comments on commit ccc482f

Please sign in to comment.