GOTOCR / app.py
thinler's picture
Update app.py
a97692e 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)