Yaron Koresh commited on
Commit
df828ed
·
verified ·
1 Parent(s): 6ae4d1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,7 +135,7 @@ pipe_flux = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_d
135
  # Parallelism
136
 
137
  def parallel(func,*args):
138
- with Pool(nodes=len(args)) as pool:
139
  res = pool.map(func, *args)
140
  return list(res)
141
 
 
135
  # Parallelism
136
 
137
  def parallel(func,*args):
138
+ with Pool(len(args)) as pool:
139
  res = pool.map(func, *args)
140
  return list(res)
141