Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
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).
|
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()
|