App is NOT running on localhost

Hi guys,
I am a newbie on Dash. I am trying to run some few scripts but the app is not running on localhost.the window just hangs. I am using a M1 MacBook. I run it both on VSCode and google Colab. both give same outcomes.

What could be a problem? this is the debug message I get: