--- title: Image Captioning emoji: 🖼️📝 colorFrom: pink colorTo: purple sdk: gradio sdk_version: 4.41.0 app_file: app.py pinned: false license: afl-3.0 --- # Image Captioning App This application provides a simple interface to generate captions for images using a pre-trained model from Hugging Face's Transformers library. ## Features - **Image Captioning**: Automatically generate descriptive captions for uploaded images. - **User-Friendly Interface**: Built using Gradio for an easy-to-use web interface. ## Model - **Model Used**: [Salesforce/blip-image-captioning-base](https://huggingface.co./Salesforce/blip-image-captioning-base) - **Framework**: Hugging Face Transformers ## Software Packages - **Gradio**: Used to create the web interface. - **Transformers**: Used for model inference. - **Spaces**: Utilized for GPU acceleration during model execution. ## How to Use 1. Upload an image using the "Upload image" button. 2. The app will automatically generate and display a caption for the image. 3. The generated caption will appear in the textbox labeled "Caption".