File size: 1,093 Bytes
e8f448a
 
5dc82f7
e8f448a
 
 
5dc82f7
e8f448a
 
 
 
 
5dc82f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
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".