St.Radio not working!

I am deploying the app locally. Originally I was working on a bigger project but I noticed the st.radio feature wasn’t working for me. When I run streamlit I don’t get any error in the terminal. So I decided to create a shorter code to test it out and sure enough after running the following code all I am seeing is “Hello, Streamlit!” on the website and nothing else. Again everything is up to date and there is no error in the terminal or the console. I have also tried changing the virtual environment. Please help me out, I have been trying to debugg or figure it out for half a day!

Code:
import streamlit as st

st.title(“Hello, Streamlit!”)
input_mode = st.radio(“Choose Input Mode”, [“Text”, “Voice”])
st.write(f"You selected: {input_mode}")

your code works fine for me, I just removed the weird quotation marks used.

import streamlit as st

st.title("Hello, Streamlit!")
input_mode = st.radio("Choose Input Mode", ["Text", "Voice"])
st.write(f"You selected: {input_mode}")

Yeah the code in itself doesn’t show any errors for me. But on the streamlit website I am not seeing the radio buttons for choosing the input mode. And I really can’t figure out why. All I am seeing is “Hello, Streamlit!”. If you can figure out why I am getting such error, it would be a big help!

Also I am using VS Code as my IDE.

how do you run your .py file?