Image-Caption / README.md
aryan083's picture
Upload 7 files
3bfd95f verified
|
raw
history blame
553 Bytes
# 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"