Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
86b1d43
1
Parent(s):
861d0c3
Remove examples.
Browse files
app.py
CHANGED
@@ -92,11 +92,5 @@ 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/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 |
-
|
101 |
if __name__ == '__main__':
|
102 |
demo.queue().launch(share=True)
|
|
|
92 |
|
93 |
submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file])
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
if __name__ == '__main__':
|
96 |
demo.queue().launch(share=True)
|