LiheYoung commited on
Commit
45a5139
1 Parent(s): ad76fcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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