def img(event):
global b1, b2
for i in range(15):
canvas = tkinter.Canvas()
canvas.pack()
b1 = PIL.ImageTk. PhotoImage(file=(bros()))
b2 = PIL.ImageTk. PhotoImage(file=(bros()))
cubik = canvas.create_image(168, 167, image=b1)
cubik2 = canvas.create_image(168, 167, image=b2)
lab1['image'] = b1
lab2['image'] = b2
root.update()
time.sleep(0.15)