Hugging Face
Models
Datasets
Spaces
Posts
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...
a97692e
GOTOCR
/
app.py
thinler
Update app.py
a97692e
verified
4 months ago
raw
Copy download link
history
blame
Safe
139 Bytes
# Load model directly
from
transformers
import
AutoModel
model = AutoModel.from_pretrained(
"stepfun-ai/GOT-OCR2_0"
, trust_remote_code=
True
)