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}")