csuhan commited on
Commit
1c2dd5c
·
1 Parent(s): 8742486

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -327,13 +327,13 @@ def gradio_worker(
327
  with gr.Tab('Depth Map') as depth_tab:
328
  depth_path = gr.Image(label='Depth Map', type='filepath')
329
  depth_rgb_path = gr.Image(label='RGB Image', type='filepath')
330
- # gr.Examples(
331
- # examples=[
332
- # [rgb_image.replace('rgb', 'depth'), rgb_image]
333
- # for rgb_image in glob.glob("examples/depth_normal/rgb/*.png")[:9]
334
- # ],
335
- # inputs=[depth_path, depth_rgb_path]
336
- # )
337
  with gr.Tab('Normal Map') as normal_tab:
338
  normal_path = gr.Image(label='Normal Map', type='filepath')
339
  normal_rgb_path = gr.Image(label='RGB Image', type='filepath')
 
327
  with gr.Tab('Depth Map') as depth_tab:
328
  depth_path = gr.Image(label='Depth Map', type='filepath')
329
  depth_rgb_path = gr.Image(label='RGB Image', type='filepath')
330
+ gr.Examples(
331
+ examples=[
332
+ [rgb_image.replace('rgb', 'depth'), rgb_image]
333
+ for rgb_image in glob.glob("examples/depth_normal/rgb/*.png")[:9]
334
+ ],
335
+ inputs=[depth_path, depth_rgb_path]
336
+ )
337
  with gr.Tab('Normal Map') as normal_tab:
338
  normal_path = gr.Image(label='Normal Map', type='filepath')
339
  normal_rgb_path = gr.Image(label='RGB Image', type='filepath')