Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -447,7 +447,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
447 |
|
448 |
|
449 |
|
450 |
-
invert_button.click(fn=run_inversion,
|
451 |
inputs=[input_image, pcs, epochs, weight_decay,lr],
|
452 |
outputs = [input_image, file_output])
|
453 |
|
@@ -457,7 +457,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
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=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 |
|
|
|
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 |
|