Skip to content

Commit

Permalink
Fix flake8 linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarquis committed Aug 12, 2024
1 parent 79065ca commit 92ab360
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion model-serving/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def process(self, data):
# The objects in the data variable are always bytes. It is necessary to convert them to the desired type
# before using them.
raw = data["image"].data
input_type = data["image"].type

# Convert raw bytes to a PIL image
image = Image.open(io.BytesIO(raw))
Expand Down

0 comments on commit 92ab360

Please sign in to comment.