rewardpilot-web-ui / config.py
sammy786's picture
Update config.py
d456744 verified
raw
history blame
1.99 kB
"""Configuration for RewardPilot Web UI"""
# Service URLs
ORCHESTRATOR_URL = "https://mcp-1st-birthday-rewardpilot-orchestrator.hf.space"
SMART_WALLET_URL = "https://mcp-1st-birthday-rewardpilot-smart-wallet.hf.space"
REWARDS_RAG_URL = "https://mcp-1st-birthday-rewardpilot-rewards-rag.hf.space"
SPEND_FORECAST_URL = "https://mcp-1st-birthday-rewardpilot-spend-forecast.hf.space"
# UI Configuration
APP_TITLE = "💳 RewardPilot"
APP_DESCRIPTION = "AI-Powered Credit Card Recommendation Engine"
THEME = "soft" # Gradio theme
# MCC Categories
MCC_CATEGORIES = {
"Groceries": "5411",
"Restaurants": "5812",
"Fast Food": "5814",
"Bars/Taverns": "5813",
"Gas Stations": "5541",
"Airlines": "3000",
"Hotels": "7011",
"Movie Theaters": "7832",
"Entertainment": "7841",
"Drugstores": "5912",
"General Retail": "5999"
}
# Merchant options by category
MERCHANTS_BY_CATEGORY = {
"Groceries": ["Whole Foods", "Trader Joe's", "Safeway", "Kroger", "Costco"],
"Restaurants": ["Olive Garden", "Chipotle", "The Cheesecake Factory", "P.F. Chang's", "Red Lobster"],
"Fast Food": ["McDonald's", "Starbucks", "Subway", "Taco Bell", "Dunkin'"],
"Bars/Taverns": ["Local Bar", "Sports Bar", "Pub & Grill", "Wine Bar", "Brewery"],
"Gas Stations": ["Shell", "Chevron", "BP", "Exxon", "Mobil"],
"Airlines": ["United Airlines", "Delta", "American Airlines", "Southwest", "JetBlue"],
"Hotels": ["Marriott", "Hilton", "Hyatt", "Holiday Inn", "Best Western"],
"Movie Theaters": ["AMC Theatres", "Regal Cinemas", "Cinemark", "Alamo Drafthouse"],
"Entertainment": ["Concert Venue", "Theme Park", "Museum", "Sports Arena", "Comedy Club"],
"Drugstores": ["CVS", "Walgreens", "Rite Aid", "Duane Reade"],
"General Retail": ["Target", "Walmart", "Amazon", "Best Buy", "Home Depot"]
}
# Sample Users
SAMPLE_USERS = ["u_alice", "u_bob", "u_charlie"]
# Feature Flags
ENABLE_ANALYTICS = True
ENABLE_COMPARISON = True
ENABLE_HISTORY = True