Update modeling_paddleocr_vl.py

#91
by RaushanTurganbay HF Staff - opened

Make the model compatible with v5. The create_causal_mask was added before PaddleOCR release so the current diff should be compatible with v4 and v5

PaddlePaddle org

LGTM

xiaohei66 changed pull request status to merged

Sign up or log in to comment