I just curious how we can make download button and upload button in column style?
Could you elaborate on what you mean by column style? Do you have a sketch or any visual representation of your idea to share?
using this function
to put this two functions side by side
Would this be a solution? Or are you looking for some thing else?
left, right = st.columns(2)
left.file_uploader("Upload")
right.download_button("Download!", """This is some text""")
If you want to cheat a little bit on alignment, you can do the following:
left, right = st.columns(2)
left.file_uploader("")
right.write("")
right.write("")
right.download_button("Download!", """This is some text""")
Hope that helps,
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.