Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- app.py +8 -7
- examples/depth_normal/depth/0084.png +0 -0
- examples/depth_normal/depth/0131.png +0 -0
- examples/depth_normal/depth/0297.png +0 -0
- examples/depth_normal/depth/0633.png +0 -0
- examples/depth_normal/depth/0663.png +0 -0
- examples/depth_normal/depth/0771.png +0 -0
- examples/depth_normal/depth/0782.png +0 -0
- examples/depth_normal/depth/1001.png +0 -0
- examples/depth_normal/depth/1051.png +0 -0
- examples/depth_normal/depth/1129.png +0 -0
- examples/depth_normal/depth/1205.png +0 -0
- examples/depth_normal/depth/1336.png +0 -0
- examples/depth_normal/depth/1383.png +0 -0
- examples/depth_normal/depth/1386.png +0 -0
- examples/depth_normal/depth/1393.png +0 -0
- examples/depth_normal/depth/1447.png +0 -0
- examples/depth_normal/normal/0084.png +0 -0
- examples/depth_normal/normal/0131.png +0 -0
- examples/depth_normal/normal/0297.png +0 -0
- examples/depth_normal/normal/0633.png +0 -0
- examples/depth_normal/normal/0663.png +0 -0
- examples/depth_normal/normal/0771.png +0 -0
- examples/depth_normal/normal/0782.png +0 -0
- examples/depth_normal/normal/1001.png +0 -0
- examples/depth_normal/normal/1051.png +0 -0
- examples/depth_normal/normal/1129.png +0 -0
- examples/depth_normal/normal/1205.png +0 -0
- examples/depth_normal/normal/1336.png +0 -0
- examples/depth_normal/normal/1383.png +0 -0
- examples/depth_normal/normal/1386.png +0 -0
- examples/depth_normal/normal/1393.png +0 -0
- examples/depth_normal/normal/1447.png +0 -0
- examples/depth_normal/rgb/0084.png +0 -0
- examples/depth_normal/rgb/0131.png +0 -0
- examples/depth_normal/rgb/0297.png +0 -0
- examples/depth_normal/rgb/0633.png +0 -0
- examples/depth_normal/rgb/0663.png +0 -0
- examples/depth_normal/rgb/0771.png +0 -0
- examples/depth_normal/rgb/0782.png +0 -0
- examples/depth_normal/rgb/1001.png +0 -0
- examples/depth_normal/rgb/1051.png +0 -0
- examples/depth_normal/rgb/1129.png +0 -0
- examples/depth_normal/rgb/1205.png +0 -0
- examples/depth_normal/rgb/1336.png +0 -0
- examples/depth_normal/rgb/1383.png +0 -0
- examples/depth_normal/rgb/1386.png +0 -0
- examples/depth_normal/rgb/1393.png +0 -0
- examples/depth_normal/rgb/1447.png +0 -0
app.py
CHANGED
@@ -338,13 +338,14 @@ def gradio_worker(
|
|
338 |
with gr.Tab('Normal Map') as normal_tab:
|
339 |
normal_path = gr.Image(label='Normal Map', type='filepath')
|
340 |
normal_rgb_path = gr.Image(label='RGB Image', type='filepath')
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
|
|
348 |
with gr.Column(scale=2):
|
349 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
350 |
msg = gr.Textbox()
|
|
|
338 |
with gr.Tab('Normal Map') as normal_tab:
|
339 |
normal_path = gr.Image(label='Normal Map', type='filepath')
|
340 |
normal_rgb_path = gr.Image(label='RGB Image', type='filepath')
|
341 |
+
gr.Examples(
|
342 |
+
examples=[
|
343 |
+
[rgb_image.replace('rgb', 'normal'), rgb_image]
|
344 |
+
for rgb_image in glob.glob("examples/depth_normal/rgb/*.png")[-9:]
|
345 |
+
],
|
346 |
+
inputs=[normal_path, normal_rgb_path],
|
347 |
+
examples_per_page=3,
|
348 |
+
)
|
349 |
with gr.Column(scale=2):
|
350 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
351 |
msg = gr.Textbox()
|
examples/depth_normal/depth/0084.png
ADDED
![]() |
examples/depth_normal/depth/0131.png
ADDED
![]() |
examples/depth_normal/depth/0297.png
ADDED
![]() |
examples/depth_normal/depth/0633.png
ADDED
![]() |
examples/depth_normal/depth/0663.png
ADDED
![]() |
examples/depth_normal/depth/0771.png
ADDED
![]() |
examples/depth_normal/depth/0782.png
ADDED
![]() |
examples/depth_normal/depth/1001.png
ADDED
![]() |
examples/depth_normal/depth/1051.png
ADDED
![]() |
examples/depth_normal/depth/1129.png
ADDED
![]() |
examples/depth_normal/depth/1205.png
ADDED
![]() |
examples/depth_normal/depth/1336.png
ADDED
![]() |
examples/depth_normal/depth/1383.png
ADDED
![]() |
examples/depth_normal/depth/1386.png
ADDED
![]() |
examples/depth_normal/depth/1393.png
ADDED
![]() |
examples/depth_normal/depth/1447.png
ADDED
![]() |
examples/depth_normal/normal/0084.png
ADDED
![]() |
examples/depth_normal/normal/0131.png
ADDED
![]() |
examples/depth_normal/normal/0297.png
ADDED
![]() |
examples/depth_normal/normal/0633.png
ADDED
![]() |
examples/depth_normal/normal/0663.png
ADDED
![]() |
examples/depth_normal/normal/0771.png
ADDED
![]() |
examples/depth_normal/normal/0782.png
ADDED
![]() |
examples/depth_normal/normal/1001.png
ADDED
![]() |
examples/depth_normal/normal/1051.png
ADDED
![]() |
examples/depth_normal/normal/1129.png
ADDED
![]() |
examples/depth_normal/normal/1205.png
ADDED
![]() |
examples/depth_normal/normal/1336.png
ADDED
![]() |
examples/depth_normal/normal/1383.png
ADDED
![]() |
examples/depth_normal/normal/1386.png
ADDED
![]() |
examples/depth_normal/normal/1393.png
ADDED
![]() |
examples/depth_normal/normal/1447.png
ADDED
![]() |
examples/depth_normal/rgb/0084.png
ADDED
![]() |
examples/depth_normal/rgb/0131.png
ADDED
![]() |
examples/depth_normal/rgb/0297.png
ADDED
![]() |
examples/depth_normal/rgb/0633.png
ADDED
![]() |
examples/depth_normal/rgb/0663.png
ADDED
![]() |
examples/depth_normal/rgb/0771.png
ADDED
![]() |
examples/depth_normal/rgb/0782.png
ADDED
![]() |
examples/depth_normal/rgb/1001.png
ADDED
![]() |
examples/depth_normal/rgb/1051.png
ADDED
![]() |
examples/depth_normal/rgb/1129.png
ADDED
![]() |
examples/depth_normal/rgb/1205.png
ADDED
![]() |
examples/depth_normal/rgb/1336.png
ADDED
![]() |
examples/depth_normal/rgb/1383.png
ADDED
![]() |
examples/depth_normal/rgb/1386.png
ADDED
![]() |
examples/depth_normal/rgb/1393.png
ADDED
![]() |
examples/depth_normal/rgb/1447.png
ADDED
![]() |