Error in code when using debug

when I am using debug = True it is showing error and when debug is False it’s running perfectly here is code and image:
code-https://github.com/agarwalyash02/machine-learning/tree/master/ML%20model%20with%20web/Image%20Caption
image:-

Hey,
It was tensorflow version issues. When i tried on tf 1.13 it worked perfectly fine. This is a temporary fix for right now, We’ll let you know if there are other solutions.

Thanks

ok thanks for your support and can you share your WhatsApp no for any assistance

and what is the use of threaded in the code?

Threaded = False, runs the code in a single thread. For multi threading you can use some other WSGI server like gunicorn or waitress

okh thanks for your support