Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
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 |
-
|
|
|
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)
|