Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -326,12 +326,6 @@ if st.session_state.df is not None:
|
|
| 326 |
|
| 327 |
# Step 6: Display Concise Conclusion
|
| 328 |
#st.markdown("#### Conclusion")
|
| 329 |
-
if conclusion_result:
|
| 330 |
-
cleaned_conclusion = re.sub(r'^\s*\*\*?Conclusion:?(\*\*)?\s*', '', conclusion_result, flags=re.IGNORECASE)
|
| 331 |
-
safe_conclusion = escape_markdown(cleaned_conclusion)
|
| 332 |
-
st.markdown(f"### Conclusion\n\n{safe_conclusion}")
|
| 333 |
-
else:
|
| 334 |
-
st.warning("β οΈ No Conclusion Generated.")
|
| 335 |
|
| 336 |
if conclusion_result:
|
| 337 |
# Check if conclusion_result is a dictionary or list
|
|
@@ -352,8 +346,8 @@ if st.session_state.df is not None:
|
|
| 352 |
|
| 353 |
# Display the clean conclusion
|
| 354 |
st.markdown(f"### Conclusion\n\n{safe_conclusion}")
|
| 355 |
-
|
| 356 |
-
|
| 357 |
|
| 358 |
|
| 359 |
|
|
|
|
| 326 |
|
| 327 |
# Step 6: Display Concise Conclusion
|
| 328 |
#st.markdown("#### Conclusion")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 329 |
|
| 330 |
if conclusion_result:
|
| 331 |
# Check if conclusion_result is a dictionary or list
|
|
|
|
| 346 |
|
| 347 |
# Display the clean conclusion
|
| 348 |
st.markdown(f"### Conclusion\n\n{safe_conclusion}")
|
| 349 |
+
else:
|
| 350 |
+
st.warning("β οΈ No Conclusion Generated.")
|
| 351 |
|
| 352 |
|
| 353 |
|