Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def parallel(*pairs):
|
|
143 |
|
144 |
for pair in pairs:
|
145 |
f = pair.pop(0)
|
146 |
-
running_tasks.append(Process(target=task, args=(
|
147 |
for running_task in running_tasks:
|
148 |
running_task.start()
|
149 |
for running_task in running_tasks:
|
|
|
143 |
|
144 |
for pair in pairs:
|
145 |
f = pair.pop(0)
|
146 |
+
running_tasks.append(Process(target=task, args=(pair,)))
|
147 |
for running_task in running_tasks:
|
148 |
running_task.start()
|
149 |
for running_task in running_tasks:
|