Yaron Koresh commited on
Commit
05b2541
·
verified ·
1 Parent(s): 492ad8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,6 +178,6 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
178
  idxs = list(range(ln))
179
  p1s = [p1_en for _ in idxs]
180
  return list(Pool(ln).imap( _ret, idxs, p1s ))
181
- run_button.click(fn=_rets,inputs=[prompt],outputs=result)
182
 
183
  demo.queue().launch()
 
178
  idxs = list(range(ln))
179
  p1s = [p1_en for _ in idxs]
180
  return list(Pool(ln).imap( _ret, idxs, p1s ))
181
+ run_button.click(fn=_rets,inputs=prompt,outputs=result)
182
 
183
  demo.queue().launch()