bigghuggs commited on
Commit
c92a929
·
verified ·
1 Parent(s): 6346157

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -579,6 +579,7 @@ def updateItemDisplay(seshid, budget=False, pallete_change=False):
579
  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 ['Palette', 'Living Room', 'Bedroom']]
580
  json_data = [json.dumps({'response': responses[i], 'item_locator_data': item_locator_data[i]}) for i,url in enumerate(urls)]
581
  responses = asyncio.run(main_post(urls, headers, json_data, timeout=.1))
 
582
 
583
  """formats = ['Youtube Long-Form', 'Youtube Short-Form', 'Facebook Long-Form', 'Instagram Reel', 'Tiktok', 'LinkedIn']
584
  number_of_items = [7, 3, 7, 3, 3, 7]
 
579
  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 ['Palette', 'Living Room', 'Bedroom']]
580
  json_data = [json.dumps({'response': responses[i], 'item_locator_data': item_locator_data[i]}) for i,url in enumerate(urls)]
581
  responses = asyncio.run(main_post(urls, headers, json_data, timeout=.1))
582
+ print('*-/*/-*-updateDisplay: dumped store_shop: ', item_locator_data)
583
 
584
  """formats = ['Youtube Long-Form', 'Youtube Short-Form', 'Facebook Long-Form', 'Instagram Reel', 'Tiktok', 'LinkedIn']
585
  number_of_items = [7, 3, 7, 3, 3, 7]