Vaibhav84 commited on
Commit
7904f7c
·
1 Parent(s): e941bd7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -257,7 +257,7 @@ def get_content_recommendations(customer_id: str, n: int = 5) -> List[Dict]:
257
  ])
258
 
259
  # Income-based recommendations
260
- income = customer_profile['Income'] * scaler.scale_[1] + scaler.mean_[1] # Denormalize income
261
 
262
  if income < 50000:
263
  content_suggestions.extend([
 
257
  ])
258
 
259
  # Income-based recommendations
260
+ income = customer_profile['Income per year (in dollars)'] * scaler.scale_[1] + scaler.mean_[1] # Denormalize income
261
 
262
  if income < 50000:
263
  content_suggestions.extend([