bigghuggs commited on
Commit
84278b3
·
verified ·
1 Parent(s): 04487e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -501,7 +501,7 @@ def updateItemDisplay(seshid, budget=False, pallete_change=False):
501
  start = time.time()
502
  if True: #try:
503
  responses = asyncio.run(main_post(urls[:3], headers[:3], json_data[:3], timeout=.5))
504
- responses = asyncio.run(main_post(urls, headers, json_data, timeout=3))
505
  scores_ = [json.loads(r)['data'] for r in responses]
506
  #print('overlap scores: ', scores[:20])
507
  else: #except:
@@ -2058,5 +2058,4 @@ with gr.Blocks(theme=gr.themes.Monochrome(), js=js_func, css=css) as demo:
2058
 
2059
 
2060
 
2061
-
2062
  demo.launch()
 
501
  start = time.time()
502
  if True: #try:
503
  responses = asyncio.run(main_post(urls[:3], headers[:3], json_data[:3], timeout=.5))
504
+ responses = asyncio.run(main_post(urls, headers, json_data, timeout=5))
505
  scores_ = [json.loads(r)['data'] for r in responses]
506
  #print('overlap scores: ', scores[:20])
507
  else: #except:
 
2058
 
2059
 
2060
 
 
2061
  demo.launch()