changet train api to take a list of images instead of glob pattern

Created by  quietlight  on March 7, 2024
27HKDBYTNASZMCIKAVZ4TMPZD35PAC7LMMIEHKY6MHJMZZ4AFUPAC
Change contents