--- title: Image Captioning emoji: 🖼️ colorFrom: indigo colorTo: purple sdk: gradio sdk_version: "3.28.0" app_file: app.py pinned: false --- # 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"