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