hysts HF staff commited on
Commit
091a154
1 Parent(s): 4bb0120

revert caching examples

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ with gr.Blocks(css=css) as demo:
90
  example_files = os.listdir('examples')
91
  example_files.sort()
92
  example_files = [os.path.join('examples', filename) for filename in example_files]
93
- examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[depth_image_slider, raw_file], fn=on_submit, cache_examples=True)
94
 
95
 
96
  if __name__ == '__main__':
 
90
  example_files = os.listdir('examples')
91
  example_files.sort()
92
  example_files = [os.path.join('examples', filename) for filename in example_files]
93
+ examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[depth_image_slider, raw_file], fn=on_submit, cache_examples=False)
94
 
95
 
96
  if __name__ == '__main__':