DrishtiSharma commited on
Commit
a36e3a8
Β·
verified Β·
1 Parent(s): e32e6f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,8 +78,8 @@ elif input_option == "Upload CSV File":
78
 
79
  # Show dataset preview only after loading (for both Hugging Face and CSV)
80
  if st.session_state.df is not None:
81
- st.subheader("πŸ“‚ Dataset Preview")
82
- st.dataframe(st.session_state.df.head())
83
 
84
 
85
  # SQL-RAG Analysis
 
78
 
79
  # Show dataset preview only after loading (for both Hugging Face and CSV)
80
  if st.session_state.df is not None:
81
+ with st.expander("πŸ“‚ View Dataset Preview", expanded=False):
82
+ st.dataframe(st.session_state.df.head())
83
 
84
 
85
  # SQL-RAG Analysis