Arif
Frontend is ready
0e48bae
raw
history blame
1.72 kB
"""Main Streamlit app"""
import streamlit as st
from components import render_sidebar
from utils import PAGE_TITLE, PAGE_ICON
st.set_page_config(
page_title=PAGE_TITLE,
page_icon=PAGE_ICON,
layout="wide",
initial_sidebar_state="expanded"
)
render_sidebar()
st.title("πŸ€– LLM Data Analyzer")
st.write("*Advanced data analysis with AI assistance*")
st.divider()
# Home page content
col1, col2 = st.columns(2)
with col1:
st.subheader("πŸ’¬ Chat")
st.write("""
- Ask questions about data analysis
- Get AI-powered insights
- Real-time responses from LLM
""")
st.markdown("[πŸ’¬ Go to Chat](pages/01_Chat.py)")
with col2:
st.subheader("πŸ“ Upload Data")
st.write("""
- Upload CSV or Excel files
- Preview your data
- View statistics
""")
st.markdown("[πŸ“ Upload Data](pages/02_Upload_Data.py)")
st.divider()
col3, col4 = st.columns(2)
with col3:
st.subheader("πŸ“Š Analysis")
st.write("""
- Statistical analysis
- Trend detection
- Outlier detection
- Correlation analysis
""")
st.markdown("[πŸ“Š Run Analysis](pages/03_Analysis.py)")
with col4:
st.subheader("πŸ₯ System Status")
st.write("""
- Check backend health
- View LLM model info
- Monitor system status
""")
st.markdown("[πŸ₯ Check Status](pages/04_Health_Check.py)")
st.divider()
st.info("""
### πŸ“– Quick Start
1. **Upload Data** - Start by uploading a CSV or Excel file
2. **Preview** - Review your data and statistics
3. **Analyze** - Run analysis and get insights
4. **Chat** - Ask follow-up questions to the AI
**Navigation**: Use the pages listed above or check the pages folder dropdown in the sidebar!
""")