Spaces:
Runtime error
Runtime error
Remove obj
Browse files
app.py
CHANGED
@@ -299,18 +299,11 @@ with gr.Blocks() as demo:
|
|
299 |
)
|
300 |
|
301 |
with gr.Row():
|
302 |
-
|
303 |
-
output_model_obj = gr.Model3D(
|
304 |
-
label="Output Model (OBJ Format)",
|
305 |
-
interactive=False,
|
306 |
-
)
|
307 |
-
gr.Markdown("Note: Downloaded .obj model will be flipped. Export .glb instead or manually flip it before usage.")
|
308 |
-
with gr.Tab("GLB"):
|
309 |
-
output_model_glb = gr.Model3D(
|
310 |
label="Output Model (GLB Format)",
|
311 |
interactive=False,
|
312 |
-
|
313 |
-
|
314 |
|
315 |
with gr.Row():
|
316 |
gr.Markdown('''Try a different <b>seed value</b> if the result is unsatisfying (Default: 42).''')
|
@@ -329,7 +322,7 @@ with gr.Blocks() as demo:
|
|
329 |
).success(
|
330 |
fn=make3d,
|
331 |
inputs=[mv_images],
|
332 |
-
outputs=[
|
333 |
)
|
334 |
|
335 |
demo.launch()
|
|
|
299 |
)
|
300 |
|
301 |
with gr.Row():
|
302 |
+
output_model_glb = gr.Model3D(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
label="Output Model (GLB Format)",
|
304 |
interactive=False,
|
305 |
+
)
|
306 |
+
gr.Markdown("Note: The model shown here has a darker appearance. Download to get correct results.")
|
307 |
|
308 |
with gr.Row():
|
309 |
gr.Markdown('''Try a different <b>seed value</b> if the result is unsatisfying (Default: 42).''')
|
|
|
322 |
).success(
|
323 |
fn=make3d,
|
324 |
inputs=[mv_images],
|
325 |
+
outputs=[output_model_glb]
|
326 |
)
|
327 |
|
328 |
demo.launch()
|