Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ with gr.Blocks() as app:
|
|
51 |
original_model = gr.Model3D('train.glb', label="Original Model")
|
52 |
modified_model = gr.Model3D(label="Textured Model")
|
53 |
|
54 |
-
section_dropdown = gr.Dropdown(choices=['
|
55 |
button = gr.Button("Visualize Texture")
|
56 |
button.click(visualize_texture, inputs=section_dropdown, outputs=modified_model)
|
57 |
|
|
|
51 |
original_model = gr.Model3D('train.glb', label="Original Model")
|
52 |
modified_model = gr.Model3D(label="Textured Model")
|
53 |
|
54 |
+
section_dropdown = gr.Dropdown(choices=['right compartments', 'left compartments', 'freight_body' 'side_body'], label="Select Section")
|
55 |
button = gr.Button("Visualize Texture")
|
56 |
button.click(visualize_texture, inputs=section_dropdown, outputs=modified_model)
|
57 |
|