Barak1 commited on
Commit
69bfce4
·
1 Parent(s): 8086df1

caching examples minor fix

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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.