Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -447,17 +447,17 @@ with gr.Blocks(css="style.css") as demo:
|
|
447 |
|
448 |
|
449 |
|
450 |
-
invert_button.click(fn=model.run_inversion,
|
451 |
inputs=[input_image, pcs, epochs, weight_decay,lr],
|
452 |
outputs = [input_image, file_output])
|
453 |
|
454 |
|
455 |
-
sample.click(fn=model.sample_then_run, outputs=[input_image, file_output])
|
456 |
|
457 |
submit.click(
|
458 |
-
fn=model.edit_inference, inputs=[prompt, negative_prompt, cfg, steps, seed, injection_step, a1, a2, a3, a4], outputs=[gallery]
|
459 |
)
|
460 |
-
file_input.change(fn=model.file_upload, inputs=file_input, outputs = gallery)
|
461 |
|
462 |
|
463 |
|
|
|
447 |
|
448 |
|
449 |
|
450 |
+
invert_button.click(fn=model.run_inversion(),
|
451 |
inputs=[input_image, pcs, epochs, weight_decay,lr],
|
452 |
outputs = [input_image, file_output])
|
453 |
|
454 |
|
455 |
+
sample.click(fn=model.sample_then_run(), outputs=[input_image, file_output])
|
456 |
|
457 |
submit.click(
|
458 |
+
fn=model.edit_inference(), inputs=[prompt, negative_prompt, cfg, steps, seed, injection_step, a1, a2, a3, a4], outputs=[gallery]
|
459 |
)
|
460 |
+
file_input.change(fn=model.file_upload(), inputs=file_input, outputs = gallery)
|
461 |
|
462 |
|
463 |
|