Hello @Gaura
You don’t need to refer to the .py file as they are not related. The config file just sets rules of where the traffic from port 8502 should point to.
You then just need to run your streamlit app (.py file) in the configured port ( in my case, it was 8502) and that’s it. If tomorrow you’d like to change the app, just terminate and run the new app in the same port.
Hope it helped.