File size: 628 Bytes
c67d780
cc6c083
9b3e19c
cc6c083
 
3660521
 
fe701f4
c67d780
 
 
 
cc6c083
 
 
 
 
 
 
 
45d915b
cc6c083
 
 
 
 
 
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
---
title: AI Caption Generator
emoji: "🤖"
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 6.3.0
python_version: "3.10"
app_file: app.py
pinned: false
---

# AI Caption Generator

Public demo for generating captions from images and short videos.

## Secrets (recommended)

Set these in your Hugging Face Space **Settings → Secrets**:

- `OPENROUTER_API_KEY` (required) – the app enforces AI caption polishing.
- `BLIP_OFFLINE` (optional) – set to `1` only if you have a preloaded HF cache.

## Notes

- First run will download the BLIP model from Hugging Face.
- Video captioning uses OpenCV to sample frames.