multimodalart HF staff commited on
Commit
8ddac36
1 Parent(s): 3f4e000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks() as demo:
66
  btn = gr.Button("Get the haircut")
67
  with gr.Column():
68
  output = gr.Image(label="Your result")
69
- gr.Examples(examples=[["michael_cera-min.png", "leo_square-min.png", "pink_hair_celeb-min.png"]], inputs=[source, target_1, target_2], outputs=output, cache_examples="lazy")
70
  source.upload(fn=resize, inputs=source, outputs=source)
71
  target_1.upload(fn=resize, inputs=target_1, outputs=target_1)
72
  target_2.upload(fn=resize, inputs=target_2, outputs=target_2)
 
66
  btn = gr.Button("Get the haircut")
67
  with gr.Column():
68
  output = gr.Image(label="Your result")
69
+ gr.Examples(examples=[["michael_cera-min.png", "leo_square-min.png", "pink_hair_celeb-min.png"]], inputs=[source, target_1, target_2], outputs=output, cache_examples=True)
70
  source.upload(fn=resize, inputs=source, outputs=source)
71
  target_1.upload(fn=resize, inputs=target_1, outputs=target_1)
72
  target_2.upload(fn=resize, inputs=target_2, outputs=target_2)