Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ with gr.Blocks() as demo:
|
|
63 |
#for o in output:
|
64 |
# gen_button.click(lambda t: gen_fn(o.label, t), txt_input, o)
|
65 |
|
66 |
-
gen_button.click(gen_fn2, [model_choice, txt_input], output
|
67 |
|
68 |
'''
|
69 |
output = gr.Gallery()
|
|
|
63 |
#for o in output:
|
64 |
# gen_button.click(lambda t: gen_fn(o.label, t), txt_input, o)
|
65 |
|
66 |
+
gen_button.click(gen_fn2, [model_choice, txt_input], output, batch = True, max_batch_size = num_models)
|
67 |
|
68 |
'''
|
69 |
output = gr.Gallery()
|