switched theme to streamlit; added icon on download buttons
This commit is contained in:
8
stand.py
8
stand.py
@ -39,15 +39,15 @@ with col1:
|
||||
|
||||
with col2:
|
||||
with open("output.h5", "rb") as f:
|
||||
st.download_button("Download hdf5", f, file_name="output.h5")
|
||||
st.download_button("📥 hdf5", f, file_name="output.h5")
|
||||
|
||||
with col3:
|
||||
xlsx = to_excel_binary(df)
|
||||
st.download_button("Download xlsx", xlsx, file_name="output.xlsx")
|
||||
st.download_button("📥 xlsx", xlsx, file_name="output.xlsx")
|
||||
|
||||
with col4:
|
||||
csv = df.to_csv()
|
||||
st.download_button("Download csv", csv, file_name="output.csv")
|
||||
st.download_button("📥 csv", csv, file_name="output.csv")
|
||||
|
||||
# st.stop()
|
||||
|
||||
@ -71,6 +71,8 @@ response = AgGrid(
|
||||
sortable=True,
|
||||
resizable=True,
|
||||
|
||||
theme="streamlit",
|
||||
|
||||
fit_columns_on_grid_load=True,
|
||||
|
||||
reload_data=changed,
|
||||
|
Reference in New Issue
Block a user