Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,11 @@ st.set_page_config(
|
|
35 |
#------------------------------------------------------------------------
|
36 |
# Sidebar
|
37 |
#------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
38 |
with st.sidebar:
|
39 |
# Password input field
|
40 |
# password = st.text_input("Enter Password:", type="password")
|
@@ -459,7 +464,7 @@ def download_chart(fig, filename):
|
|
459 |
# Set the file pointer to the beginning
|
460 |
buffer.seek(0)
|
461 |
# Add a download button to Streamlit
|
462 |
-
st.download_button(label="Download Chart", data=buffer, file_name=filename, mime='image/png')
|
463 |
|
464 |
def download_llm_output(content, filename):
|
465 |
# Create a buffer to hold the text data
|
|
|
35 |
#------------------------------------------------------------------------
|
36 |
# Sidebar
|
37 |
#------------------------------------------------------------------------
|
38 |
+
# logo
|
39 |
+
main_body_logo = "mimtss.png"
|
40 |
+
sidebar_logo = "mimtss_small.png"
|
41 |
+
st.logo(sidebar_logo, icon_image=main_body_logo)
|
42 |
+
|
43 |
with st.sidebar:
|
44 |
# Password input field
|
45 |
# password = st.text_input("Enter Password:", type="password")
|
|
|
464 |
# Set the file pointer to the beginning
|
465 |
buffer.seek(0)
|
466 |
# Add a download button to Streamlit
|
467 |
+
st.download_button(label="Download Chart", data=buffer, file_name=filename, mime='image/png', icon="📊", use_container_width=True)
|
468 |
|
469 |
def download_llm_output(content, filename):
|
470 |
# Create a buffer to hold the text data
|