Yaron Koresh commited on
Commit
acb22d1
·
verified ·
1 Parent(s): f94caf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -247,7 +247,8 @@ def handle(i,m,p1,p2,*result):
247
  #with Pool(f'{ ln }:ppn=2', queue='productionQ', timelimit='5:00:00', workdir='.') as pool:
248
  #return pool.map(infer,arr)
249
  ret = []
250
- ret.append(infer,pm) for _ in range(ln)
 
251
  return ret
252
 
253
  @njit(cache=True,nopython=True,parallel=True)
 
247
  #with Pool(f'{ ln }:ppn=2', queue='productionQ', timelimit='5:00:00', workdir='.') as pool:
248
  #return pool.map(infer,arr)
249
  ret = []
250
+ for _ in range(ln):
251
+ ret.append(infer,pm)
252
  return ret
253
 
254
  @njit(cache=True,nopython=True,parallel=True)