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