Skip to content

Commit 2c7a1d7

Browse files
committed
fix code style
1 parent a242678 commit 2c7a1d7

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

check_install.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def kernel_check():
8282
OPENVINO_IMPORT = False
8383

8484

85-
8685
print("System information:")
8786
print(f"Python executable: {PYTHON_EXECUTABLE}")
8887
print(f"Pip version: {PIP_VERSION}")
@@ -177,9 +176,7 @@ def kernel_check():
177176

178177
if not DEVTOOLS_INSTALLED:
179178
print()
180-
print(
181-
"OpenVINO development tools are not installed in this Python environment. \n" "Please follow the instructions in the README to install `openvino`\n"
182-
)
179+
print("OpenVINO development tools are not installed in this Python environment. \n" "Please follow the instructions in the README to install `openvino`\n")
183180

184181
if not NO_BROKEN_REQUIREMENTS:
185182
print()

notebooks/janus-multimodal-generation/ov_janus_helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def convert_janus_model(model_id, output_dir, quantization_config):
233233
processor: VLChatProcessor = VLChatProcessor.from_pretrained(model_id)
234234
config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
235235
language_config = config.language_config
236-
language_config._attn_implementation = 'sdpa'
236+
language_config._attn_implementation = "sdpa"
237237
vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_id, language_config=language_config, trust_remote_code=True)
238238
vl_gpt = vl_gpt.eval()
239239
vl_gpt.config.save_pretrained(output_dir)

notebooks/yolov11-optimization/yolov11-keypoint-detection.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@
13361336
"metadata": {},
13371337
"outputs": [],
13381338
"source": [
1339-
"#VIDEO_SOURCE = 0 #for webcam\n",
1339+
"# VIDEO_SOURCE = 0 #for webcam\n",
13401340
"VIDEO_SOURCE = \"https://storage.openvinotoolkit.org/repositories/openvino_notebooks/data/data/video/people.mp4\""
13411341
]
13421342
},

0 commit comments

Comments
 (0)