Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -327,23 +327,23 @@ 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 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
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')
|
340 |
-
gr.Examples(
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
)
|
347 |
with gr.Column(scale=2):
|
348 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
349 |
msg = gr.Textbox()
|
|
|
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')
|
340 |
+
# gr.Examples(
|
341 |
+
# examples=[
|
342 |
+
# [rgb_image.replace('rgb', 'normal'), rgb_image]
|
343 |
+
# for rgb_image in glob.glob("examples/depth_normal/rgb/*.png")[-9:]
|
344 |
+
# ],
|
345 |
+
# inputs=[normal_path, normal_rgb_path]
|
346 |
+
# )
|
347 |
with gr.Column(scale=2):
|
348 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
349 |
msg = gr.Textbox()
|