Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -134,12 +134,12 @@ with gr.Blocks() as demo:
|
|
134 |
interative = False,
|
135 |
)
|
136 |
gr.Markdown("Note: Downloaded object will be flipped in case of .obj export. Export .glb instead or manually flip it before usage.")
|
137 |
-
|
138 |
-
|
139 |
label="Output Model (GLB Format)",
|
140 |
interactive=False,
|
141 |
-
|
142 |
-
|
143 |
|
144 |
step1_submit.click(fn=check_input_image, inputs=[input_image]).success(
|
145 |
fn=preprocess,
|
|
|
134 |
interative = False,
|
135 |
)
|
136 |
gr.Markdown("Note: Downloaded object will be flipped in case of .obj export. Export .glb instead or manually flip it before usage.")
|
137 |
+
with gr.Tab("GLB"):
|
138 |
+
output_model_glb = gr.Model3D(
|
139 |
label="Output Model (GLB Format)",
|
140 |
interactive=False,
|
141 |
+
)
|
142 |
+
gr.Markdown("Note: The model shown here has a darker appearance. Download to get correct results.")
|
143 |
|
144 |
step1_submit.click(fn=check_input_image, inputs=[input_image]).success(
|
145 |
fn=preprocess,
|