Stable Diffusion Set Python Intersection Method