streamlit version
zhongxinlei opened this issue · comments
May I ask the version of streamlit in the project? I installed 1.11.0; 1.12.0 and 1.10.0. I always meet problem like:
TypeError: radio() got an unexpected keyword argument 'captions' for the following codes
selected_method = st.radio(
"你想选择哪种模式进行对话?",
["None", "qa_chain", "chat_qa_chain"],
captions = ["不使用检索问答的普通模式", "不带历史记录的检索问答模式", "带历史记录的检索问答模式"])
TypeError: container() got an unexpected keyword argument 'height' for the following codes
messages = st.container(height=300)
可能是版本太低的原因,我之前版本较低的时候也有报这个错误,现在用的是1.33.0版本的streamlit,没有报错。