caption_generator / caption_blip.py

Commit History

Refactor caption composition: implement fallback summary logic for empty outputs
3a03c0c
Running

3v324v23 commited on

Switch to faster Gemma model to reduce timeouts
c9d10cd

3v324v23 commited on

Increase OpenRouter timeout and retries to reduce timeouts
67d2b7f

3v324v23 commited on

Prevent empty caption crash with fallbacks
200e9f6

3v324v23 commited on

Refactor caption composition: remove fallback summary logic when OpenRouter is not used
2c329c6

3v324v23 commited on

Refactor caption processing: remove second proofreading pass and streamline fallback logic
4f9e626

3v324v23 commited on

Add second OpenRouter proofreading pass for captions
424a424

3v324v23 commited on

Refactor caption processing logic: remove redundant non-Latin character cleaning and enhance caption summarization
6e33a30

3v324v23 commited on

Add final spelling and grammar verification step to prompts
5542af7

3v324v23 commited on

Fix accidental word concatenations in captions
62db250

3v324v23 commited on

Add retry logic and warning when AI caption generation fails
86a80ca

3v324v23 commited on

Instruct AI to handle confusing BLIP captions and always produce logical output
65a1add

3v324v23 commited on

Strengthen prompts with strict anti-repetition rules and improve frame deduplication
b050f54

3v324v23 commited on

Add guidance to prevent over-dramatized/anthropomorphic captions
708332b

3v324v23 commited on

Filter out hallucinated CJK characters in Latin text captions
eb0b130

3v324v23 commited on

Update Dockerfile and caption processing logic for improved performance and clarity
94a2ab5

3v324v23 commited on

Improve video fallback summary and add debug logging
0fc2f06

3v324v23 commited on

Add fallback when OpenRouter returns empty caption
3c33259

3v324v23 commited on

Enhance caption cleaning to extract final text and remove meta sections
73d50a4

3v324v23 commited on

Remove aggressive caption cleaning
a686b37

3v324v23 commited on

Prefer light-cleaned OpenRouter output when aggressive cleaning empties
095807e

3v324v23 commited on

Remove junk prefix handling from caption cleaning function
6024a3e

3v324v23 commited on

Strip junk prefixes from captions
3874b2e

3v324v23 commited on

Fix empty caption fallback for video
05d903c

3v324v23 commited on

Add new text styles + clean caption output
76612ab

3v324v23 commited on

OpenRouter retries + friendlier timeout errors
9849fa1

3v324v23 commited on

Rename platforms: Instagram, X (Twitter)
ea7ee36

3v324v23 commited on

Clarify platform names (Instagram, X(Twitter))
e907792

3v324v23 commited on

Make keywords/description affect output; add platforms/languages/emojis toggle
95e9328

3v324v23 commited on

Fix BLIP load without torchvision
9360f10

3v324v23 commited on

Deploy full caption generator app
bf1fd5c

ABDOULLAH ALALGUI commited on