DrishtiSharma commited on
Commit
d3d9c6a
·
verified ·
1 Parent(s): b1e654d

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +1 -3
app3.py CHANGED
@@ -165,9 +165,7 @@ if st.session_state.df is not None:
165
  if viz_question:
166
  try:
167
  result = agent.chat(viz_question)
168
-
169
  import re
170
-
171
  code_pattern = r"```python\n(.*?)\n```"
172
  code_match = re.search(code_pattern, result, re.DOTALL)
173
 
@@ -183,4 +181,4 @@ if st.session_state.df is not None:
183
  except Exception as e:
184
  st.error(f"An error occurred during processing: {e}")
185
  else:
186
- st.info("Please load a dataset to start analysis.")
 
165
  if viz_question:
166
  try:
167
  result = agent.chat(viz_question)
 
168
  import re
 
169
  code_pattern = r"```python\n(.*?)\n```"
170
  code_match = re.search(code_pattern, result, re.DOTALL)
171
 
 
181
  except Exception as e:
182
  st.error(f"An error occurred during processing: {e}")
183
  else:
184
+ st.info("Please load a dataset to start analysis.")