|
--- |
|
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 |