Streamlit loading a blank page each time

Hello, I’m a bit new to streamlit. I’ve tried to make a basic streamlit application, whenever I run the code it gives me a blank screen in my browser each time. I tried some simple code and that gave me a blank screen. I even went to my terminal and tried streamlit hello and that gave me a blank screen as well. If anybody could help resolve this issue I’d appreciate it.

import streamlit as st
st.title('test')
2022-04-30 13:51:46.575 
  e[33me[1mWarning:e[0m to view this Streamlit app on a browser, run it with the following
  command:

    streamlit run /Users/xyz/Desktop/st1.py [ARGUMENTS]
xyz@xxx-MacBook-Air ~ % streamlit run /Users/xyz/Desktop/st1.py

  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:8501
  Network URL: