Update
Browse files- edit_app.py +8 -1
edit_app.py
CHANGED
@@ -206,7 +206,14 @@ InstructPix2Pix: Learning to Follow Image Editing Instructions
|
|
206 |
)
|
207 |
|
208 |
gr.on(
|
209 |
-
triggers=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
fn=generate,
|
211 |
inputs=[
|
212 |
input_image,
|
|
|
206 |
)
|
207 |
|
208 |
gr.on(
|
209 |
+
triggers=[
|
210 |
+
generate_button.click,
|
211 |
+
instruction.submit,
|
212 |
+
steps.submit,
|
213 |
+
seed.submit,
|
214 |
+
text_cfg_scale.submit,
|
215 |
+
image_cfg_scale.submit,
|
216 |
+
],
|
217 |
fn=generate,
|
218 |
inputs=[
|
219 |
input_image,
|