Error occured when using sidebar

Iā€™m a new starter for Streamlit ,yesterday I learned some basic skills of it, and when it comes to sidebar, it suddenly can not work ,the error is TypeError: ā€˜DeltaGeneratorā€™ object is not callable


I wish someone could help me with it
the code is:
siderbar =st.sidebar()

Problem sovledļ¼I added a parameter in it , it worked

2 Likes

Hey @wang_dashi,

Welcome to the streamlit community!! :tada::partying_face::tada::partying_face:

Thatā€™s great! Glad you got it fixed up! Can you post the line of code you changed so future users who have this question can see the code you used to fix it!

Happy Streamlit-ing!
Marisa

sureļ¼Œthe code is:
st.sidebar.header(ā€˜huawei apps storeļ¼šā€™)
st.sidebar.subheader(ā€˜1.please chose which app you want to operateā€™)

1 Like