Spaces:
Sleeping
Sleeping
_Noxty
commited on
Update app.py
Browse files
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,
|