Spaces:
Sleeping
Sleeping
DrishtiSharma
commited on
Update app.py
Browse files
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.
|
82 |
-
|
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
|