Save the results of a button click to a csv in S3

The trick was to use st.session_state, like described in this thread.

At least, that solved the file saving issue. I just went with the two-buttons option to get around the radio button problem.

Thanks for your help!

1 Like