Skip to content

Commit 1f6c13a

Browse files
committed
demos/common/python/openvino/model_zoo/model_api/adapters/openvino_adapter.py: reduce indentation
1 parent 346f1ae commit 1f6c13a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/common/python/openvino/model_zoo/model_api/adapters/openvino_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def __init__(self, ie, model_path, weights_path=None, device='CPU', plugin_confi
5252

5353
if isinstance(model_path, (str, Path)):
5454
if Path(model_path).suffix == ".onnx" and weights_path:
55-
log.warning('For model in ONNX format should set only "model_path" parameter.'
56-
'The "weights_path" will be omitted')
55+
log.warning('For model in ONNX format should set only "model_path" parameter.'
56+
'The "weights_path" will be omitted')
5757

5858
self.model_from_buffer = isinstance(model_path, bytes) and isinstance(weights_path, bytes)
5959
log.info('Reading model {}'.format('from buffer' if self.model_from_buffer else model_path))

0 commit comments

Comments
 (0)