Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,9 @@ else:
|
|
142 |
st.success(f"Here is the graph of column '{column}'.")
|
143 |
else:
|
144 |
st.warning(f"Column '{column}' not found in the data.")
|
145 |
-
|
|
|
|
|
146 |
|
147 |
except Exception as e:
|
148 |
st.warning(f"Error processing question or generating answer: {str(e)}")
|
|
|
142 |
st.success(f"Here is the graph of column '{column}'.")
|
143 |
else:
|
144 |
st.warning(f"Column '{column}' not found in the data.")
|
145 |
+
|
146 |
+
# Stop further execution after generating the graph
|
147 |
+
st.stop() # This halts further execution
|
148 |
|
149 |
except Exception as e:
|
150 |
st.warning(f"Error processing question or generating answer: {str(e)}")
|