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...
thinler
commited on
Nov 5, 2024
Commit
259dc6e
·
verified
·
1 Parent(s):
1f8da0a
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
ADDED
Viewed
@@ -0,0 +1,3 @@
1
+
# Load model directly
2
+
from transformers import AutoModel
3
+
model = AutoModel.from_pretrained("stepfun-ai/GOT-OCR2_0", trust_remote_code=True)