Text this: Latent guard: a safety framework for text-to-image generation