Hi,
As explained by Mohit bhaiya about why we are getting the error and using the ‘_make_predict_function()’ method. However, I am getting a different type of error even after correcting my .py file.
My files which I am using, I have tested on jupyter like that done earlier in the video so, the code is correct. However, I am not able to extract out the captions when I have deployed it online using Flask.
Also, I don’t have any GPU on my machine if that is something that can cause an error because I saw some lines related to that which gave some form of a ‘cudart dlerror’ while running the server
Here is the screenshot of the error: