Skip to content

Commit 145f3cf

Browse files
authoredSep 5, 2024··
Fix constants import in cli.py (#252)
* fix import of constants * from openvino_tokenziers.... import ...
1 parent 88df85b commit 145f3cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎python/openvino_tokenizers/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from openvino import Type, save_model
99

1010
from openvino_tokenizers import convert_tokenizer
11-
from constants import UTF8ReplaceMode
11+
from openvino_tokenizers.constants import UTF8ReplaceMode
1212

1313
class StringToTypeAction(Action):
1414
string_to_type_dict = {

‎python/openvino_tokenizers/convert_tokenizer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from openvino.runtime import Model, Type
1010
from openvino.runtime.exceptions import OVTypeError
1111

12-
from .utils import change_inputs_type, change_outputs_type, update_rt_info
13-
from .constants import UTF8ReplaceMode
12+
from openvino_tokenizers.utils import change_inputs_type, change_outputs_type, update_rt_info
13+
from openvino_tokenizers.constants import UTF8ReplaceMode
1414

1515
logger = logging.getLogger(__name__)
1616

0 commit comments

Comments
 (0)
Please sign in to comment.