Yaron Koresh commited on
Commit
6e8995d
·
verified ·
1 Parent(s): 71526bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def parallel(*pairs):
142
  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()
 
142
  running_tasks = []
143
 
144
  for pair in pairs:
145
+ task = pair.pop(0)
146
  running_tasks.append(Process(target=task, args=(pair,)))
147
  for running_task in running_tasks:
148
  running_task.start()