Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
!pip install transformers
|
| 2 |
# Load model directly
|
| 3 |
from transformers import AutoModel
|
| 4 |
model = AutoModel.from_pretrained("stepfun-ai/GOT-OCR2_0", trust_remote_code=True)
|
|
|
|
|
|
|
| 1 |
# Load model directly
|
| 2 |
from transformers import AutoModel
|
| 3 |
model = AutoModel.from_pretrained("stepfun-ai/GOT-OCR2_0", trust_remote_code=True)
|