_Noxty commited on
Commit
e6c3592
·
verified ·
1 Parent(s): 3e6d270

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -111,6 +111,13 @@ with gr.Blocks(fill_width=True, css=css) as demo:
111
  outputs=[lora_A],
112
  queue=True,
113
  )
 
 
 
 
 
 
 
114
  gr.on(
115
  triggers=[search_civitai_submit.click, search_civitai_query.submit, search_civitai_user.submit],
116
  fn=search_civitai,
 
111
  outputs=[lora_A],
112
  queue=True,
113
  )
114
+ gr.on(
115
+ triggers=[generate_button.click],
116
+ fn=generate_image,
117
+ inputs=[prompt, num_steps, guidance_scale, sampler, img_width, img_height],
118
+ outputs=output_image,
119
+ queue=True,
120
+ )
121
  gr.on(
122
  triggers=[search_civitai_submit.click, search_civitai_query.submit, search_civitai_user.submit],
123
  fn=search_civitai,