File size: 896 Bytes
6410cde
 
 
 
 
 
 
 
 
 
 
 
 
ef13ec4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: Paligamma
emoji: 💻
colorFrom: yellow
colorTo: red
sdk: gradio
sdk_version: 5.12.0
app_file: app.py
pinned: false
license: mit
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# PaliGemma Image Captioning Gradio App

## Deployment Instructions

1. Create a new Hugging Face Space
2. Choose Python as the SDK
3. Select 16GB CPU hardware
4. Upload the following files:
   - `app.py`
   - `requirements.txt`

### HuggingFace Access Token

1. Go to HuggingFace settings
2. Create a new access token with "Read" permissions
3. Add the token as a secret named `HF_TOKEN` in your Space settings

### Features
- Multi-language image captioning
- Upload custom images
- Example images included
- Supports English, Spanish, French, German captions

## Model Details
- Model: google/paligemma-3b-mix-224
- Task: Multilingual Image Captioning