If you want light configuration requirements with no database, you can try to enhance https://gitlab.com/paolobenve/myphotoshare. MyPhotoShare is a static photo-gallery where AI features have been added through extensions of the parser. This is a one-developer project, mostly Python and JavaScript, and he is open to contributions.