Stable Diffusion Set Python Intersection