Update KAPE Gallery.py

Updated PEP8 standard.