Spaces:
Runtime error
Runtime error
enable cache_example for A10G
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ with gr.Blocks(css=css) as demo:
|
|
91 |
example_files = os.listdir('examples')
|
92 |
example_files.sort()
|
93 |
example_files = [os.path.join('examples', filename) for filename in example_files]
|
94 |
-
examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[depth_image_slider, raw_file], fn=on_submit, cache_examples=
|
95 |
|
96 |
|
97 |
if __name__ == '__main__':
|
|
|
91 |
example_files = os.listdir('examples')
|
92 |
example_files.sort()
|
93 |
example_files = [os.path.join('examples', filename) for filename in example_files]
|
94 |
+
examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[depth_image_slider, raw_file], fn=on_submit, cache_examples=True)
|
95 |
|
96 |
|
97 |
if __name__ == '__main__':
|