Not able to display image from image captioning project using flask

I am not able to display the image using flask.The caption is being generated but image cannot be seen.The codes for both app.py and index.html is given below


hey @Sid10 ,
i guess this is the error in your img tag in html file.
instead of providing the src as such , search about url_for function in flask. Maybe it will help you.

try printing your src path too , i think you might be passing it wrong.

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.