Update app.py
Browse files
app.py
CHANGED
|
@@ -464,7 +464,7 @@ def download_chart(fig, filename):
|
|
| 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="📊"
|
| 468 |
|
| 469 |
def download_llm_output(content, filename):
|
| 470 |
# Create a buffer to hold the text data
|
|
|
|
| 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="📊")
|
| 468 |
|
| 469 |
def download_llm_output(content, filename):
|
| 470 |
# Create a buffer to hold the text data
|