Yaron Koresh commited on
Commit
72f8c56
·
verified ·
1 Parent(s): 8b213a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
195
  def _rets():
196
  ln = len(result)
197
  idxs = list(range(ln))
198
- Pool(ln).amap( _ret, idxs )
199
  run_button.click(_rets)
200
 
201
  demo.queue().launch()
 
195
  def _rets():
196
  ln = len(result)
197
  idxs = list(range(ln))
198
+ Pool(ln).imap( _ret, idxs )
199
  run_button.click(_rets)
200
 
201
  demo.queue().launch()