Spaces:
Running
on
A10G
Running
on
A10G
caching examples minor fix
Browse files
app.py
CHANGED
|
@@ -190,6 +190,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 190 |
inputs=[input_image, description_prompt, target_prompt, edit_guidance_scale, num_inference_steps,
|
| 191 |
inversion_max_step, rnri_iterations, rnri_alpha, rnri_lr],
|
| 192 |
cache_examples=True,
|
|
|
|
|
|
|
| 193 |
)
|
| 194 |
|
| 195 |
gr.Markdown(f"""Disclaimer: Performance may be inferior to the reported in the paper due to hardware limitation.
|
|
|
|
| 190 |
inputs=[input_image, description_prompt, target_prompt, edit_guidance_scale, num_inference_steps,
|
| 191 |
inversion_max_step, rnri_iterations, rnri_alpha, rnri_lr],
|
| 192 |
cache_examples=True,
|
| 193 |
+
fn=set_pipe,
|
| 194 |
+
outputs=[inv_state, is_set_text],
|
| 195 |
)
|
| 196 |
|
| 197 |
gr.Markdown(f"""Disclaimer: Performance may be inferior to the reported in the paper due to hardware limitation.
|