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