
torch.cuda.is_available()) for best performance.history.db.ViT-B/32) to compute the cosine similarity between the prompt and generated image. This gives a percentage score (0β100) indicating how well the image matches the text prompt.LICENSE file for details.Posted Jun 28, 2025
Created a Streamlit app for AI image generation and evaluation using Stable Diffusion and CLIP.