Spaces:
Runtime error
Runtime error
merge
Browse files
app.py
CHANGED
@@ -126,19 +126,19 @@ with gr.Blocks(theme=gr.themes.Default(text_size="lg", radius_size="none")) as d
|
|
126 |
with gr.Row(variant="panel"):
|
127 |
with gr.Column(scale=6):
|
128 |
title = gr.HTML('''<h1 text-align="center">Objaverse</h1>
|
129 |
-
|
130 |
-
|
131 |
gallery_objaverse = gr.Gallery([("examples/objaverse/lamppost.jpg", "lamppost"),
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
gallery_objaverse.select(fn=on_select,
|
140 |
-
|
141 |
-
|
142 |
with gr.Column(scale=6):
|
143 |
title = gr.HTML("""<h1 text-align="center">In the Wild</h1>
|
144 |
<p style='font-size: 16px;'>Challenging examples in-the-wild reconstructions from iPhone photos and PartObjaverseTiny!</p>
|
@@ -151,8 +151,8 @@ with gr.Blocks(theme=gr.themes.Default(text_size="lg", radius_size="none")) as d
|
|
151 |
columns=3,
|
152 |
allow_preview=False)
|
153 |
gallery_wild.select(fn=on_select,
|
154 |
-
|
155 |
-
|
156 |
|
157 |
file_upload.change(
|
158 |
fn=render_pcd_file,
|
|
|
126 |
with gr.Row(variant="panel"):
|
127 |
with gr.Column(scale=6):
|
128 |
title = gr.HTML('''<h1 text-align="center">Objaverse</h1>
|
129 |
+
<p style='font-size: 16px;'>Online 3D assets from Objaverse!</p>
|
130 |
+
''')
|
131 |
gallery_objaverse = gr.Gallery([("examples/objaverse/lamppost.jpg", "lamppost"),
|
132 |
+
("examples/objaverse/fireplug.jpg", "fireplug"),
|
133 |
+
("examples/objaverse/mickey.jpg", "Mickey"),
|
134 |
+
("examples/objaverse/motorvehicle.jpg", "motor vehicle"),
|
135 |
+
("examples/objaverse/teddy.jpg", "teddy bear"),
|
136 |
+
("examples/objaverse/shirt.jpg", "shirt")],
|
137 |
+
columns=3,
|
138 |
+
allow_preview=False)
|
139 |
gallery_objaverse.select(fn=on_select,
|
140 |
+
inputs=None,
|
141 |
+
outputs=[file_upload, part_queries])
|
142 |
with gr.Column(scale=6):
|
143 |
title = gr.HTML("""<h1 text-align="center">In the Wild</h1>
|
144 |
<p style='font-size: 16px;'>Challenging examples in-the-wild reconstructions from iPhone photos and PartObjaverseTiny!</p>
|
|
|
151 |
columns=3,
|
152 |
allow_preview=False)
|
153 |
gallery_wild.select(fn=on_select,
|
154 |
+
inputs=None,
|
155 |
+
outputs=[file_upload, part_queries])
|
156 |
|
157 |
file_upload.change(
|
158 |
fn=render_pcd_file,
|