Upload app.py
Browse files
app.py
CHANGED
@@ -460,7 +460,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=css) as app:
|
|
460 |
outputs=[result],
|
461 |
queue=True,
|
462 |
show_api=False,
|
463 |
-
).
|
464 |
prompt_enhance.click(enhance_prompt, [prompt], [prompt], queue=False, show_api=False)
|
465 |
|
466 |
gr.on(
|
|
|
460 |
outputs=[result],
|
461 |
queue=True,
|
462 |
show_api=False,
|
463 |
+
).then(get_t2i_model_info, [model_name], [model_info], queue=False, show_api=False)
|
464 |
prompt_enhance.click(enhance_prompt, [prompt], [prompt], queue=False, show_api=False)
|
465 |
|
466 |
gr.on(
|