woltapp/blurhash-python

TypeError: blurhash_encode() got an unexpected keyword argument 'x_components'

MrPeker opened this issue · 1 comments

File "/home/ubuntu/project/src/infer.py", line 147, in inference
patch_hashcode = blurhash.encode(fname, x_components=4, y_components=3)
TypeError: blurhash_encode() got an unexpected keyword argument 'x_components'

It seems like argument names changed to components_x, components_y from x_components, y_components. Issue resolved when I changed argument names