Yaron Koresh commited on
Commit
ea1a726
·
verified ·
1 Parent(s): 2478f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
235
  p1s = [p1_en for _ in rng]
236
  p2s = [p2_en for _ in rng]
237
  pool = Pool(processes=ln)
238
- lst = list( pool.imap( _ret, p1s, p2s ) )
239
  pool.clear()
240
  return lst
241
 
 
235
  p1s = [p1_en for _ in rng]
236
  p2s = [p2_en for _ in rng]
237
  pool = Pool(processes=ln)
238
+ lst = list( pool.map( _ret, p1s, p2s ) )
239
  pool.clear()
240
  return lst
241