BubbleScribe / README.md
lulavc's picture
Revert to GLM-4.6V (stable)
627dbb7 verified
---
title: BubbleScribe
emoji: ✍️
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 6.1.0
app_file: app.py
pinned: false
hardware: t4-small
tags:
- glm-4.6v
- lama
- manga
- comic
- translator
- ocr
- japanese
- korean
- chinese
- translation
- inpainting
- speech-bubble
- webtoon
short_description: AI manga & comic translator powered by GLM-4.6V + LaMa
---
# ✍️ BubbleScribe
Translate manga and comics from Japanese/Korean/Chinese to any language using GLM-4.6V for OCR and LaMa for inpainting.
## Features
- 🔍 **Smart Text Detection** - GLM-4.6V detects speech bubbles and text regions
- 🌐 **Multi-language Translation** - Japanese, Korean, Chinese → Any language
- 🎨 **Clean Inpainting** - LaMa removes original text with GPU acceleration
- ✍️ **Text Overlay** - Adds translated text back to the image
## How It Works
1. Upload a manga/comic page
2. GLM-4.6V detects and translates text
3. LaMa inpainting removes original text (GPU-accelerated)
4. Translated text is overlaid on the clean image
## Models Used
- **GLM-4.6V** (Z.ai API) - OCR + Translation
- **LaMa** - Text removal inpainting (GPU-accelerated)
## Credits
- [GLM-4.6V](https://huggingface.co/zai-org/GLM-4.6V) by Zhipu AI
- [LaMa](https://github.com/advimman/lama) for inpainting
- Demo by [@lulavc](https://huggingface.co/lulavc)