DrMostafa commited on
Commit
2995acd
Β·
verified Β·
1 Parent(s): e5d56c0

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- # Just show file info without download button
671
  st.markdown(f"""
672
  <div class="result-card">
673
- <p>πŸ“Ž <strong>Generated File:</strong> <code>{filepath.name}</code></p>
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