Columns at sharing

Why do I need to use beta_columns instead of columns at share.streamlit.io?

I guess share.streamlit.io has always the latest streamlit?

try:

        col1,col2 = st.columns([1,3])

    except:

        col1,col2 = st.beta_columns([1,3])
1 Like

Hi @rcsmit

It would indeed. Unless youโ€™ve locked it to a legacy version in your requirements.txt file?

Best,
Charly

This is my requirements file

scipy
matplotlib==3.2.2
numpy==1.18.1
pandas==1.1.3
seaborn
lmfit
imageio
tabulate
sklearn
gsheetsdb
1 Like

Thanks @rcsmit

Have you added Streamlit in the requirements.txt as well?

If so, would you mind giving us the line for Streamlit, see if itโ€™s locked to a specific version?

Thanks
Charly

Yes, that helped.

Quit strange though :wink:

Thanks for you help

1 Like