Yaron Koresh commited on
Commit
407bfc5
·
verified ·
1 Parent(s): b895101

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ pipe_flux = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_d
138
 
139
  def parallel(workers,func,*args):
140
  with ProcessPoolExecutor(workers) as ex:
141
- res = ex.map(func, *args)
142
  return list(res)
143
 
144
  # functionality
 
138
 
139
  def parallel(workers,func,*args):
140
  with ProcessPoolExecutor(workers) as ex:
141
+ res = ex.map(func, args)
142
  return list(res)
143
 
144
  # functionality