File size: 698 Bytes
321af29
 
 
 
 
 
 
 
 
 
3bfd95f
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
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"