Web flask error

getting the error:
An exception has occurred, use %tb to see the full traceback.
how to resolve

@kushagra5492 try to execute the code in text editor instead of notebook and omit the debug=True and test it

Hi @kushagra5492,

@Vikaspal solution is correct. Flask apps cannot be run through Jupyter Notebooks as of now. Paste the code in a .py file and then run it through the cmd.

Hope this helps!

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.