Problem with deploying streamlit on Azure

I’ve been trying to deploy a streamlit app on azure so I followed this tutorial on medium by Richard Peterson here

However despite following everything I get this Application Error page. How to fix this error? For those that manage to get this to work what are you doing differently?