Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -16,7 +16,7 @@ from pathlib import Path
|
|
| 16 |
|
| 17 |
# Page config
|
| 18 |
st.set_page_config(
|
| 19 |
-
page_title="Data Analyst Agent",
|
| 20 |
page_icon="π",
|
| 21 |
layout="wide"
|
| 22 |
)
|
|
@@ -667,10 +667,10 @@ def render_response(content: str):
|
|
| 667 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 668 |
|
| 669 |
else:
|
| 670 |
-
#
|
| 671 |
st.markdown(f"""
|
| 672 |
<div class="result-card">
|
| 673 |
-
<p>π <strong>Generated File:</strong> <
|
| 674 |
</div>
|
| 675 |
""", unsafe_allow_html=True)
|
| 676 |
|
|
|
|
| 16 |
|
| 17 |
# Page config
|
| 18 |
st.set_page_config(
|
| 19 |
+
page_title="Data Analyst Agent for Transmed",
|
| 20 |
page_icon="π",
|
| 21 |
layout="wide"
|
| 22 |
)
|
|
|
|
| 667 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 668 |
|
| 669 |
else:
|
| 670 |
+
# Show file info with clickable download link
|
| 671 |
st.markdown(f"""
|
| 672 |
<div class="result-card">
|
| 673 |
+
<p>π <strong>Generated File:</strong> <a href="{clean_url}" target="_blank" download style="color: #667eea; text-decoration: none; font-family: monospace; background: rgba(102,126,234,0.1); padding: 4px 8px; border-radius: 6px;">{filepath.name}</a></p>
|
| 674 |
</div>
|
| 675 |
""", unsafe_allow_html=True)
|
| 676 |
|