'Why isn't streamlit running in VScode?

I installed streamlit in VScode, and tried to run this.

import streamlit as st
st.title("Hello")

But I dont get streamlit to pop up in a new browser, instead I get this message in the terminal. Is this something to do with my files?

Warning: to view this Streamlit app on a browser, run it with the following command:

streamlit run c:\Users\MyName\Documents\VS code\test.py [ARGUMENTS] 


Solution 1:[1]

Following the suggestion, just execute the streamlit run c:\Users\MyName\Documents\VS code\test.py in the terminal directly.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Steven-MSFT