Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -362,7 +362,9 @@ def handle(*inp):
|
|
362 |
|
363 |
ln = len(result)
|
364 |
|
365 |
-
|
|
|
|
|
366 |
out_pipe = parallel(parargs)
|
367 |
for i in range(ln):
|
368 |
name = generate_random_string(12)+".png"
|
|
|
362 |
|
363 |
ln = len(result)
|
364 |
|
365 |
+
def _calc():
|
366 |
+
return calc()
|
367 |
+
parargs = [[_calc,*inp] for i in range(ln)]
|
368 |
out_pipe = parallel(parargs)
|
369 |
for i in range(ln):
|
370 |
name = generate_random_string(12)+".png"
|