Hi, I am getting a different error

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:

Hey @A18ML0031,

Run the flask app with the debug mode disabled and the threaded parameter set to False.

if __name__ == '__main__':
    app.run(debug=False, threaded=False)

I hope this works ! :+1:
Thanks ! :slightly_smiling_face:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Its couldn’t help me