Update app.py
Browse files
app.py
CHANGED
|
@@ -1088,7 +1088,7 @@ def loadColorAndCharacter(text, seshid):
|
|
| 1088 |
sesh.responses = asyncio.run(main(urls))
|
| 1089 |
|
| 1090 |
print('sesh.display_items_[sesh.current_img_signature]: ', sesh.display_items_[sesh.current_img_signature])
|
| 1091 |
-
print('item_data_: ', sesh.item_data_[sesh.current_img_signature][sesh.room_type][sesh.room_style][sesh.price][sesh.Palette_ids[sesh.current_img_signature]].
|
| 1092 |
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']]
|
| 1093 |
print('item_locator_data: ', item_locator_data)
|
| 1094 |
|
|
|
|
| 1088 |
sesh.responses = asyncio.run(main(urls))
|
| 1089 |
|
| 1090 |
print('sesh.display_items_[sesh.current_img_signature]: ', sesh.display_items_[sesh.current_img_signature])
|
| 1091 |
+
print('item_data_: ', [(k,len(v)) for k,v in sesh.item_data_[sesh.current_img_signature][sesh.room_type][sesh.room_style][sesh.price][sesh.Palette_ids[sesh.current_img_signature]].items() if k not in ['Pallete', 'Living Room', 'Bedroom']])
|
| 1092 |
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']]
|
| 1093 |
print('item_locator_data: ', item_locator_data)
|
| 1094 |
|