Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files326 unmodified lines327328329330331332333334335336337338339326 unmodified lineswith gr.Tab('Depth Map') as depth_tab:depth_path = gr.Image(label='Depth Map', type='filepath')depth_rgb_path = gr.Image(label='RGB Image', type='filepath')# gr.Examples(# examples=[# [rgb_image.replace('rgb', 'depth'), rgb_image]# for rgb_image in glob.glob("examples/depth_normal/rgb/*.png")[:9]# ],# inputs=[depth_path, depth_rgb_path]# )with gr.Tab('Normal Map') as normal_tab:normal_path = gr.Image(label='Normal Map', type='filepath')normal_rgb_path = gr.Image(label='RGB Image', type='filepath')326 unmodified lines327328329330331332333334335336337338339326 unmodified lineswith gr.Tab('Depth Map') as depth_tab:depth_path = gr.Image(label='Depth Map', type='filepath')depth_rgb_path = gr.Image(label='RGB Image', type='filepath')gr.Examples(examples=[[rgb_image.replace('rgb', 'depth'), rgb_image]for rgb_image in glob.glob("examples/depth_normal/rgb/*.png")[:9]],inputs=[depth_path, depth_rgb_path])with gr.Tab('Normal Map') as normal_tab:normal_path = gr.Image(label='Normal Map', type='filepath')normal_rgb_path = gr.Image(label='RGB Image', type='filepath')
app.py+7-7