bigghuggs commited on
Commit
8a7f3c1
·
verified ·
1 Parent(s): 83ae983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -583,7 +583,7 @@ def updateItemDisplay(seshid, budget=False, pallete_change=False):
583
  items = [[data[1] for data in sesh.display_items_[sesh.current_img_signature] if data[1] not in ['Palette', 'Living Room', 'Bedroom']] for _ in range(len(formats))]
584
  json_data = [json.dumps({'video_format': fmt, 'number_of_items': number_of_items[i], 'room_type': sesh.room_type, 'item_locator_data': item_locator_data, 'gen_uid': i, 'responses':responses, 'items': items}) for i,fmt in enumerate(formats)]
585
  #responses = asyncio.run(main_post(urls, headers, json_data, timeout=.1))
586
- responses = asyncio.run(main_post(urls, headers, json_data, timeout=2))
587
  print('*-/*/-*-updateDisplay: dumped scriptgen_promise: ', responses)
588
 
589
  setSesh(seshid, sesh)
 
583
  items = [[data[1] for data in sesh.display_items_[sesh.current_img_signature] if data[1] not in ['Palette', 'Living Room', 'Bedroom']] for _ in range(len(formats))]
584
  json_data = [json.dumps({'video_format': fmt, 'number_of_items': number_of_items[i], 'room_type': sesh.room_type, 'item_locator_data': item_locator_data, 'gen_uid': i, 'responses':responses, 'items': items}) for i,fmt in enumerate(formats)]
585
  #responses = asyncio.run(main_post(urls, headers, json_data, timeout=.1))
586
+ responses = asyncio.run(main_post(urls, headers, json_data, timeout=3))
587
  print('*-/*/-*-updateDisplay: dumped scriptgen_promise: ', responses)
588
 
589
  setSesh(seshid, sesh)