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('assets/
|
96 |
example_files.sort()
|
97 |
-
example_files = [os.path.join('assets/
|
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_sketch')
|
96 |
example_files.sort()
|
97 |
+
example_files = [os.path.join('assets/examples_sketch', 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 |
|