Barak1 commited on
Commit
e4eecf5
·
1 Parent(s): 7ca2244

cancel examples caching

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -187,10 +187,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
187
  with gr.Row():
188
  gr.Examples(
189
  examples='examples',
190
- inputs=[input_image, description_prompt, target_prompt],
191
- cache_examples=True,
192
- fn=set_pipe,
193
- outputs=[inv_state, is_set_text],
194
  )
195
 
196
  gr.Markdown(f"""Disclaimer: Performance may be inferior to the reported in the paper due to hardware limitation.
 
187
  with gr.Row():
188
  gr.Examples(
189
  examples='examples',
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
  )
193
 
194
  gr.Markdown(f"""Disclaimer: Performance may be inferior to the reported in the paper due to hardware limitation.