Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
thinler
/
GOTOCR
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d2591d7
GOTOCR
/
app.py
thinler
Update app.py
d2591d7
verified
8 months ago
raw
Copy download link
history
blame
Safe
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
)