Skip to content

Commit

Permalink
style: apply coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
theocayla committed Feb 22, 2025
1 parent c28c06b commit 9c5b677
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyroengine/vision.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def __init__(
if os.path.splitext(model_path)[-1] == ".onnx":
self.format = "onnx"

Check warning on line 59 in pyroengine/vision.py

View check run for this annotation

Codecov / codecov/patch

pyroengine/vision.py#L58-L59

Added lines #L58 - L59 were not covered by tests
else:
logging.warning(f"Model should be an onnx export but currently is {model_path} - Getting model from HuggingFace")
logging.warning(

Check warning on line 61 in pyroengine/vision.py

View check run for this annotation

Codecov / codecov/patch

pyroengine/vision.py#L61

Added line #L61 was not covered by tests
f"Model should be an onnx export but currently is {model_path} - Getting model from HuggingFace"
)
model_path = None

Check warning on line 64 in pyroengine/vision.py

View check run for this annotation

Codecov / codecov/patch

pyroengine/vision.py#L64

Added line #L64 was not covered by tests
if model_path is None:

Expand Down

0 comments on commit 9c5b677

Please sign in to comment.