{"type":"rich","published":"2025-12-12 15:25:26","author_url":"https://blog.hatena.ne.jp/touch-sp/","url":"https://touch-sp.hatenablog.com/entry/2025/12/12/152526","height":"190","width":"100%","provider_name":"Hatena Blog","categories":["Gradio","OCR","\u8a00\u8a9e\u30e2\u30c7\u30eb"],"title":"PaddleOCR-VL \u304c\u516c\u958b\u3055\u308c\u305f\u306e\u3067 Gradio \u3068 Transformers \u3092\u4f7f\u3063\u3066OCR\u30a2\u30d7\u30ea\u3092\u4f5c\u308b","blog_title":"\u30d1\u30bd\u30b3\u30f3\u95a2\u9023\u3082\u308d\u3082\u308d","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftouch-sp.hatenablog.com%2Fentry%2F2025%2F12%2F12%2F152526\" title=\"PaddleOCR-VL \u304c\u516c\u958b\u3055\u308c\u305f\u306e\u3067 Gradio \u3068 Transformers \u3092\u4f7f\u3063\u3066OCR\u30a2\u30d7\u30ea\u3092\u4f5c\u308b - \u30d1\u30bd\u30b3\u30f3\u95a2\u9023\u3082\u308d\u3082\u308d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/touch-sp/20251212/20251212152206.jpg","version":"1.0","author_name":"touch-sp","blog_url":"https://touch-sp.hatenablog.com/","description":"\u5b9f\u884c\u753b\u9762 \u65e5\u672c\u8a9e\u3082\u305d\u3053\u305d\u3053\u3044\u3051\u308b\u3088\u3046\u3067\u3059\u3002Python\u30b9\u30af\u30ea\u30d7\u30c8 from transformers import AutoProcessor, AutoModelForImageTextToText, TextIteratorStreamer import gradio as gr from threading import Thread model = AutoModelForImageTextToText.from_pretrained( \"PaddlePaddle/PaddleOCR-VL\", dtype=\"bfloat16\", device_map=\"cuda\" ) processo\u2026"}