I wanted my machine learning model to detect the image and predict it. I\'m almost there but I have an error,
IndexError: invalid index to scalar variable.