Omkar008 commited on
Commit
871cd6a
·
verified ·
1 Parent(s): 72ffc8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ supabase: Client = create_client(url, key)
13
  async def get_hotel_data(hushh_id:str):
14
  hotel_brand_frequency = {}
15
  result = {}
16
- resp = supabase.table("receipt_radar_structured_data_duplicate").select("brand,message_id,company,logo").eq("brand_category","Travel").execute()
17
  for ds in resp.data:
18
  if ds.get('brand'):
19
  result[ds.get('brand')] = {"message_id":ds.get('message_id'),"domain":ds.get('company'),"hotel_logo":ds.get('logo')}
 
13
  async def get_hotel_data(hushh_id:str):
14
  hotel_brand_frequency = {}
15
  result = {}
16
+ resp = supabase.table("receipt_radar_structured_data_duplicate").select("brand,message_id,company,logo").eq("brand_category","Hospitality").execute()
17
  for ds in resp.data:
18
  if ds.get('brand'):
19
  result[ds.get('brand')] = {"message_id":ds.get('message_id'),"domain":ds.get('company'),"hotel_logo":ds.get('logo')}