KyanChen commited on
Commit
67afcad
·
1 Parent(s): 59975a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks() as demo:
43
  img1_files = glob.glob('samples/A/*.png')
44
  img2_files = [f.replace('A', 'B') for f in img1_files]
45
  input_files = [[x, y] for x, y in zip(img1_files, img2_files)]
46
- gr.Examples(input_files, fn=infer, inputs=[input_0, input_1], outputs=[output_gt], cache_examples=False)
47
  gr.Markdown(
48
  """
49
  This is the demo of ["Time Travelling Pixels: Bitemporal Features Integration with Foundation Model for Remote Sensing Image Change Detection"](https://arxiv.org/abs/2312.16202). Seeing [Github](https://github.com/KyanChen/TTP) for more information!
 
43
  img1_files = glob.glob('samples/A/*.png')
44
  img2_files = [f.replace('A', 'B') for f in img1_files]
45
  input_files = [[x, y] for x, y in zip(img1_files, img2_files)]
46
+ gr.Examples(input_files, fn=infer, inputs=[input_0, input_1], outputs=[output_gt], cache_examples=True)
47
  gr.Markdown(
48
  """
49
  This is the demo of ["Time Travelling Pixels: Bitemporal Features Integration with Foundation Model for Remote Sensing Image Change Detection"](https://arxiv.org/abs/2312.16202). Seeing [Github](https://github.com/KyanChen/TTP) for more information!