As i click on the submit button i am facing the following error:-
I am struggling with this error from quite a long time now, please if you can help me resolve this error…
As i click on the submit button i am facing the following error:-
I am struggling with this error from quite a long time now, please if you can help me resolve this error…
Hey @saksham_thukral
Try one thing. Run the flask with the debug mode disabled. Tensorflow sometimes misbehaves when the debug / development mode is enabled.
if __name__ == '__main__':
app.run(debug=False)
Let me know if this works!
yes it worked, but i also i had to do threaded=False with that to run it, but can you tell that would i always have to put debug=False to run tensorflow, or is there some specific condition? i mean is there any solution that it can work with threaded =True?
This is a global issue and I couldn’t find anything conclusive to deal with this.
One blog I read provided a possible explanation behind the issue and even provides a fix. I’m attaching the link to it. See if the solution provided there resolves your issue too. Here’s the link.
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.