From ec05f50f671e90ae0f0ee8c497d8c8fdbb8f9cb1 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Mon, 2 Aug 2021 21:08:54 +0800 Subject: [PATCH] add __version__ to paddleocr --- __init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/__init__.py b/__init__.py index 6db6dcfe..504aeca6 100644 --- a/__init__.py +++ b/__init__.py @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +import paddleocr from .paddleocr import * +__version__ = paddleocr.VERSION __all__ = ['PaddleOCR', 'PPStructure', 'draw_ocr', 'draw_structure_result', 'save_structure_res'] -- GitLab