from transformers import pipeline pipe = pipeline("image-to-text", model="zai-org/GLM-OCR")