From 9403b6f7bbd592d080c74a2983344c70877bb36e Mon Sep 17 00:00:00 2001 From: breezedeus Date: Mon, 17 Jun 2024 10:22:08 +0800 Subject: [PATCH] adapted with cnstd==1.2.4 --- docs/RELEASE.md | 10 ++++++++++ pix2text/__version__.py | 2 +- requirements.in | 2 +- requirements.txt | 2 +- setup.py | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/RELEASE.md b/docs/RELEASE.md index fd65dda..a199654 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -1,5 +1,15 @@ # Release Notes +## Update 2024.06.17:**V1.1.0.7** Released + +Major changes: + +* adapted with cnstd==1.2.4 , thanks to https://github.com/g1y5x3 . + +主要变更: + +* 适配 cnstd==1.2.4 ,感谢 https://github.com/g1y5x3 。 + ## Update 2024.06.04:**V1.1.0.6** Released Major changes: diff --git a/pix2text/__version__.py b/pix2text/__version__.py index bacd869..b61d3b7 100644 --- a/pix2text/__version__.py +++ b/pix2text/__version__.py @@ -2,4 +2,4 @@ # [Pix2Text](https://github.com/breezedeus/pix2text): an Open-Source Alternative to Mathpix. # Copyright (C) 2022-2024, [Breezedeus](https://www.breezedeus.com). -__version__ = '1.1.0.6' +__version__ = '1.1.0.7' diff --git a/requirements.in b/requirements.in index 8fa2e94..7d785db 100644 --- a/requirements.in +++ b/requirements.in @@ -9,7 +9,7 @@ torch torchvision pillow>=5.3.0 opencv-python -cnstd>=1.2.3.6 +cnstd>=1.2.4 cnocr[ort-cpu]>=2.3.0.2 transformers>=4.37.0 optimum[onnxruntime] diff --git a/requirements.txt b/requirements.txt index a886c74..3b9bfb3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,7 +36,7 @@ cnocr[ort-cpu]==2.3.0.2 # via # -r requirements.in # cnocr -cnstd==1.2.3.6 +cnstd==1.2.4 # via # -r requirements.in # cnocr diff --git a/setup.py b/setup.py index 8bc7356..7bec4ac 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ "numpy", "opencv-python", "cnocr[ort-cpu]>=2.3.0.2", - "cnstd>=1.2.3.6", + "cnstd>=1.2.4", "pillow", "torch", "torchvision",