TypeError: img should be PIL Image. Got <class ‘str’>

Could you post the following outputs:

print(image)
print(type(image))
image = Image.open(image)