Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,9 +92,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 92 |
|
| 93 |
submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file])
|
| 94 |
|
| 95 |
-
example_files = os.listdir('examples')
|
| 96 |
example_files.sort()
|
| 97 |
-
example_files = [os.path.join('examples', filename) for filename in example_files]
|
| 98 |
examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file], fn=on_submit)
|
| 99 |
|
| 100 |
|
|
|
|
| 92 |
|
| 93 |
submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file])
|
| 94 |
|
| 95 |
+
example_files = os.listdir('assets/examples')
|
| 96 |
example_files.sort()
|
| 97 |
+
example_files = [os.path.join('assets/examples', filename) for filename in example_files]
|
| 98 |
examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file], fn=on_submit)
|
| 99 |
|
| 100 |
|