File size: 553 Bytes
3bfd95f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


# Image Captioning
Generate a caption/description for your image, simple and straight forward using [Transformers](https://huggingface.co/docs/transformers/index) library.

### How to use
* Create a Python 3.9 virtual environment
* Install all the packages from the `requirements.txt` file
* Download the model and supporting files from [Huggingface](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning/tree/main)

### HuggingFace Model
* https://huggingface.co/nlpconnect/vit-gpt2-image-captioning

## 
execute the code "python gradio_ui.py"