DrishtiSharma commited on
Commit
683cc87
·
verified ·
1 Parent(s): 39a3df1

Update app4.py

Browse files
Files changed (1) hide show
  1. app4.py +4 -4
app4.py CHANGED
@@ -21,10 +21,10 @@ if not api_key or not pandasai_api_key:
21
  st.warning("API keys for OpenAI or PandasAI are missing. Ensure both keys are set in environment variables.")
22
 
23
  # Add session reset button
24
- if st.button("Reset Session"):
25
- for key in list(st.session_state.keys()):
26
- del st.session_state[key]
27
- st.experimental_rerun()
28
 
29
  # Function to validate and clean dataset
30
  def validate_and_clean_dataset(df):
 
21
  st.warning("API keys for OpenAI or PandasAI are missing. Ensure both keys are set in environment variables.")
22
 
23
  # Add session reset button
24
+ #if st.button("Reset Session"):
25
+ #for key in list(st.session_state.keys()):
26
+ #del st.session_state[key]
27
+ #st.experimental_rerun()
28
 
29
  # Function to validate and clean dataset
30
  def validate_and_clean_dataset(df):