Spaces:
Sleeping
Sleeping
Update space
Browse files
app.py
CHANGED
|
@@ -60,10 +60,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 60 |
|
| 61 |
submit.click(on_submit, inputs=[left_image,right_image], outputs=[depth_image])
|
| 62 |
|
| 63 |
-
example_files = os.listdir('examples')
|
| 64 |
-
example_files.sort()
|
| 65 |
-
example_files = [os.path.join('examples', filename) for filename in example_files]
|
| 66 |
-
examples = gr.Examples(examples=example_files, inputs=[left_image,right_image], outputs=[depth_image], fn=on_submit, cache_examples=True)
|
| 67 |
|
| 68 |
|
| 69 |
if __name__ == '__main__':
|
|
|
|
| 60 |
|
| 61 |
submit.click(on_submit, inputs=[left_image,right_image], outputs=[depth_image])
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
if __name__ == '__main__':
|