John6666 commited on
Commit
ca41bcc
1 Parent(s): 4f5a72d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- ).success(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(
 
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(