Update app.py
Browse files
app.py
CHANGED
@@ -1166,7 +1166,7 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
|
|
1166 |
processed_video = gr.Video(label="Output Video", format="mp4", elem_id="output_video", interactive=False)
|
1167 |
processed_zip = gr.File(label="Output Archive", interactive=False)
|
1168 |
depth_video = gr.Video(label="Depth Video", format="mp4", elem_id="depth_video", interactive=False, visible=True)
|
1169 |
-
result = gr.Model3D(label="3D Mesh", clear_color=[0.5, 0.5, 0.5, 0.0], camera_position=[0, 90,
|
1170 |
with gr.Accordion(label="Embed in website", open=False):
|
1171 |
embed_model = gr.Textbox(elem_id="embed_model", label="Include this wherever the model is to appear on the page", interactive=False, value="""
|
1172 |
|
|
|
1166 |
processed_video = gr.Video(label="Output Video", format="mp4", elem_id="output_video", interactive=False)
|
1167 |
processed_zip = gr.File(label="Output Archive", interactive=False)
|
1168 |
depth_video = gr.Video(label="Depth Video", format="mp4", elem_id="depth_video", interactive=False, visible=True)
|
1169 |
+
result = gr.Model3D(label="3D Mesh", clear_color=[0.5, 0.5, 0.5, 0.0], camera_position=[0, 90, 512], zoom_speed=2.0, pan_speed=2.0, interactive=True, elem_id="model3D")
|
1170 |
with gr.Accordion(label="Embed in website", open=False):
|
1171 |
embed_model = gr.Textbox(elem_id="embed_model", label="Include this wherever the model is to appear on the page", interactive=False, value="""
|
1172 |
|