Spaces:
Sleeping
Sleeping
Ashish Soni
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,37 @@
|
|
1 |
---
|
2 |
title: Image Captioning
|
3 |
-
emoji:
|
4 |
colorFrom: pink
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: afl-3.0
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
title: Image Captioning
|
3 |
+
emoji: ๐ผ๏ธ๐
|
4 |
colorFrom: pink
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.41.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: afl-3.0
|
11 |
---
|
12 |
|
13 |
+
# Image Captioning App
|
14 |
+
|
15 |
+
This application provides a simple interface to generate captions for images using a pre-trained model from Hugging Face's Transformers library.
|
16 |
+
|
17 |
+
## Features
|
18 |
+
|
19 |
+
- **Image Captioning**: Automatically generate descriptive captions for uploaded images.
|
20 |
+
- **User-Friendly Interface**: Built using Gradio for an easy-to-use web interface.
|
21 |
+
|
22 |
+
## Model
|
23 |
+
|
24 |
+
- **Model Used**: [Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base)
|
25 |
+
- **Framework**: Hugging Face Transformers
|
26 |
+
|
27 |
+
## Software Packages
|
28 |
+
|
29 |
+
- **Gradio**: Used to create the web interface.
|
30 |
+
- **Transformers**: Used for model inference.
|
31 |
+
- **Spaces**: Utilized for GPU acceleration during model execution.
|
32 |
+
|
33 |
+
## How to Use
|
34 |
+
|
35 |
+
1. Upload an image using the "Upload image" button.
|
36 |
+
2. The app will automatically generate and display a caption for the image.
|
37 |
+
3. The generated caption will appear in the textbox labeled "Caption".
|