GOTOCR / app.py
thinler's picture
Create app.py
259dc6e verified
raw
history blame
139 Bytes
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("stepfun-ai/GOT-OCR2_0", trust_remote_code=True)