Spaces:
Sleeping
Sleeping
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" | |