Skip to content

Commit ef7b03d

Browse files
Update keras_hub/src/utils/openvino_utils.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 110b9c3 commit ef7b03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras_hub/src/utils/openvino_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def load_openvino_supported_tools(config_file_path):
2929
"""
3030
try:
3131
with open(config_file_path, "r") as f:
32-
return [line.strip() for line in f if line.strip()]
32+
return [line.strip() for line in f if line.strip() and not line.strip().startswith("#")]
3333
except FileNotFoundError:
3434
return []
3535

0 commit comments

Comments
 (0)