📜  streamlit beta 列 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:32.747000             🧑  作者: Mango

代码示例1
col1, col2 = st.beta_columns(2)

original = Image.open(image)
col1.header("Original")
col1.image(original, use_column_width=True)

grayscale = original.convert('LA')
col2.header("Grayscale")
col2.image(grayscale, use_column_width=True)