Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -193,7 +193,7 @@ def run1(p1,p2,*result):
|
|
193 |
|
194 |
arr = [p for _ in rng]
|
195 |
pool = Pool(ln)
|
196 |
-
out = list(
|
197 |
pool.close()
|
198 |
pool.join()
|
199 |
pool.clear()
|
|
|
193 |
|
194 |
arr = [p for _ in rng]
|
195 |
pool = Pool(ln)
|
196 |
+
out = list(pool.imap(infer1,arr))
|
197 |
pool.close()
|
198 |
pool.join()
|
199 |
pool.clear()
|