GOTOCR / app.py
thinler's picture
Update app.py
23f0db7 verified
raw
history blame
167 Bytes
#! pip install transformers
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("stepfun-ai/GOT-OCR2_0", trust_remote_code=True)