bigghuggs commited on
Commit
2272e2f
·
verified ·
1 Parent(s): 0f189fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1087,7 +1087,9 @@ def loadColorAndCharacter(text, seshid):
1087
  urls = [product_pd_count[1]['product_dict']['href'] for product_pd_count in sesh.product_pd_counts]
1088
  sesh.responses = asyncio.run(main(urls))
1089
 
1090
-
 
 
1091
  url = 'https://dreamdemo.pythonanywhere.com/shopping'
1092
  sesh.gen_uid = str(time.time())
1093
  valid_data = {'gen_uid': sesh.gen_uid, 'product_pd_counts': sesh.product_pd_counts, 'responses':[r.decode('ISO-8859-1') if type(r) != type(None) else r for r in sesh.responses]}
 
1087
  urls = [product_pd_count[1]['product_dict']['href'] for product_pd_count in sesh.product_pd_counts]
1088
  sesh.responses = asyncio.run(main(urls))
1089
 
1090
+ item_locator_data = [sesh.item_data_[sesh.current_img_signature][sesh.room_type][sesh.room_style][sesh.price][sesh.Palette_ids[sesh.current_img_signature]][data[1]][data[0]] for data in sesh.display_items_[sesh.current_img_signature] if data[1] not in ['Pallete', 'Living Room', 'Bedroom']]
1091
+ print('item_locator_data: ', item_locator_data)
1092
+
1093
  url = 'https://dreamdemo.pythonanywhere.com/shopping'
1094
  sesh.gen_uid = str(time.time())
1095
  valid_data = {'gen_uid': sesh.gen_uid, 'product_pd_counts': sesh.product_pd_counts, 'responses':[r.decode('ISO-8859-1') if type(r) != type(None) else r for r in sesh.responses]}