Linoy Tsaban commited on
Commit
2b4fe45
1 Parent(s): 6bba143

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -245,7 +245,9 @@ with gr.Blocks() as demo:
245
  label='Examples',
246
  examples=get_example(),
247
  inputs=[input_image, src_prompt, tar_prompt, edit_concept, ddpm_edited_image, sega_edited_image],
248
- outputs=[ddpm_edited_image, sega_edited_image])
 
 
249
 
250
 
251
 
 
245
  label='Examples',
246
  examples=get_example(),
247
  inputs=[input_image, src_prompt, tar_prompt, edit_concept, ddpm_edited_image, sega_edited_image],
248
+ outputs=[ddpm_edited_image, sega_edited_image],
249
+ fn=edit,
250
+ cache_example=True)
251
 
252
 
253