Spaces:
Running
on
Zero
Running
on
Zero
revert caching examples
Browse files
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=
|
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__':
|