sammy786 commited on
Commit
37fda20
·
verified ·
1 Parent(s): 94ff613

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -209,7 +209,8 @@ def get_recommendation_with_ai(user_id, merchant, category, amount):
209
  mcc = MCC_CATEGORIES.get(category, "5999")
210
 
211
  # Get base recommendation from orchestrator
212
- result = client.get_recommendation_sync(
 
213
  user_id=user_id,
214
  merchant=merchant,
215
  mcc=mcc,
 
209
  mcc = MCC_CATEGORIES.get(category, "5999")
210
 
211
  # Get base recommendation from orchestrator
212
+ # NEW:
213
+ result = client.get_recommendation(
214
  user_id=user_id,
215
  merchant=merchant,
216
  mcc=mcc,