sammy786 commited on
Commit
9ca828b
Β·
verified Β·
1 Parent(s): 049cd86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -649,7 +649,6 @@ def get_recommendation_with_agent(user_id, merchant, category, amount):
649
  output += f"- {warning}\n"
650
  output += "\n---\n"
651
 
652
- # βœ… Calculation details with better explanation
653
  # βœ… Calculation details with better explanation
654
  output += f"""<details>
655
  <summary>πŸ“Š <b>Annual Impact Calculation</b> (Click to expand)</summary>
@@ -697,7 +696,8 @@ def get_recommendation_with_agent(user_id, merchant, category, amount):
697
  # βœ… Create chart
698
  chart = create_agent_recommendation_chart_enhanced(recommendation)
699
  if llamaindex_context or spending_warnings:
700
- output += f"""
 
701
  ---
702
 
703
  *πŸ€– Enhanced with AI-powered knowledge retrieval using LlamaIndex + OpenAI Embeddings*
 
649
  output += f"- {warning}\n"
650
  output += "\n---\n"
651
 
 
652
  # βœ… Calculation details with better explanation
653
  output += f"""<details>
654
  <summary>πŸ“Š <b>Annual Impact Calculation</b> (Click to expand)</summary>
 
696
  # βœ… Create chart
697
  chart = create_agent_recommendation_chart_enhanced(recommendation)
698
  if llamaindex_context or spending_warnings:
699
+ output += f"""
700
+
701
  ---
702
 
703
  *πŸ€– Enhanced with AI-powered knowledge retrieval using LlamaIndex + OpenAI Embeddings*