Hi Aravind_K_R
There are two ways to get text input from users.
First, there’s st.text_input
for when you only need a single line of text:
user_input = st.text_input("label goes here", default_value_goes_here)
Then there’s st.text_area
for then you want multiple lines of text:
user_input = st.text_area("label goes here", default_value_goes_here)
In both cases, the default_value_goes_here
argument is optional. You can find more about these in our API documentation.
Let me know if this answers your question!