forever-sheikh commited on
Commit
656dfee
·
verified ·
1 Parent(s): ecc5e1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -21,27 +21,32 @@ except:
21
  API_KEY = None
22
 
23
  # ==========================================
24
- # 1. UNIVERSAL FILTER LISTS
25
  # ==========================================
26
- # Filters out Schools, Doctors, Industrial services, etc. (Universal)
 
27
  UNIVERSAL_BAD_TERMS = [
 
28
  "dr.", "dds", "md", "phd", "lcsw", "medical", "clinic", "health", "rehab",
29
  "therapy", "counseling", "chiropractor", "dental", "orthodontics", "hospital",
30
  "ambulance", "transport", "emergency", "veterinary", "vision center",
 
31
  "school", "university", "college", "academy", "campus", "library", "learning",
32
  "student", "alum", "education", "institute", "dorm", "residence",
 
33
  "atm", "kiosk", "redbox", "coinme", "fuel", "gas", "repair", "service",
34
  "collision", "towing", "plumbing", "hvac", "electric", "tree", "lawn",
35
  "gutter", "cleaning", "storage", "warehouse", "distribution", "mural", "statue",
36
- "part", "accessories"
37
  ]
38
 
39
- # Filters out departments inside Big Box stores (Universal)
 
40
  DEPARTMENT_TERMS = [
41
  "grocery", "deli", "bakery", "pharmacy", "optical", "hearing", "photo",
42
  "portrait", "garden", "nursery", "mobile", "tech", "geek", "pickup",
43
  "money", "bank", "cafe", "bistro", "snack", "food court", "customer service",
44
- "floral", "flowers", "store on"
45
  ]
46
 
47
  # ==========================================
 
21
  API_KEY = None
22
 
23
  # ==========================================
24
+ # 1. UNIVERSAL FILTER LISTS (FINAL POLISH)
25
  # ==========================================
26
+
27
+ # Filters out Schools, Doctors, Industrial services, etc.
28
  UNIVERSAL_BAD_TERMS = [
29
+ # Health / Medical
30
  "dr.", "dds", "md", "phd", "lcsw", "medical", "clinic", "health", "rehab",
31
  "therapy", "counseling", "chiropractor", "dental", "orthodontics", "hospital",
32
  "ambulance", "transport", "emergency", "veterinary", "vision center",
33
+ # Education
34
  "school", "university", "college", "academy", "campus", "library", "learning",
35
  "student", "alum", "education", "institute", "dorm", "residence",
36
+ # Services / Misc
37
  "atm", "kiosk", "redbox", "coinme", "fuel", "gas", "repair", "service",
38
  "collision", "towing", "plumbing", "hvac", "electric", "tree", "lawn",
39
  "gutter", "cleaning", "storage", "warehouse", "distribution", "mural", "statue",
40
+ "part", "accessories", "hair", "salon", "studio", "barber", "spa", "nail"
41
  ]
42
 
43
+ # Filters out departments inside Big Box stores
44
+
45
  DEPARTMENT_TERMS = [
46
  "grocery", "deli", "bakery", "pharmacy", "optical", "hearing", "photo",
47
  "portrait", "garden", "nursery", "mobile", "tech", "geek", "pickup",
48
  "money", "bank", "cafe", "bistro", "snack", "food court", "customer service",
49
+ "floral", "flowers", "store on", "tire", "battery", "auto", "lube"
50
  ]
51
 
52
  # ==========================================