Skip to content

Commit

Permalink
adding self, to def compute_pdq(self, iobytes: io.BytesIO) -> str:
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednasserswe committed Oct 30, 2023
1 parent 17d0357 commit cae6e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from lib import schemas

class Model(Model):
def compute_pdq(iobytes: io.BytesIO) -> str:
def compute_pdq(self, iobytes: io.BytesIO) -> str:
"""Compute perceptual hash using ImageHash library
:param im: Numpy.ndarray
:returns: Imagehash.ImageHash
Expand Down

0 comments on commit cae6e6e

Please sign in to comment.