How to input a list into DataBlock

I have a list that contains paths to pictures I want to include in my dataloader and another list with the labels for those pictures. I tried creating a DataBlock with the following specificiations:
my_bears = DataBlock(
blocks = (ImageBlock, CategoryBlock),
get_items = Pipeline([itemgetter(0), get_image_files]),
splitter = RandomSplitter(valid_pct=0.2, seed = 42),
get_y = itemgetter(1),

But unfortunately this does not work… I used
dls = my_bears.dataloaders(data_list) and I get: IndexError: list index out of range

The data_list is a zipped list. data_list[0] for example looks likes this:
(’/content/downloads/polar bear/1.polar_bear_on_ice_in_svalbard_norway_ww294883.jpg’,
‘polar bear’)