Spaces:
Running
Running
Upload viewer.py
Browse files
viewer.py
CHANGED
@@ -185,7 +185,12 @@ interface = gr.Interface(
|
|
185 |
outputs=gr.Plot(label="3D Voxel Model"), # Remove the type parameter
|
186 |
title="Voxel Model Viewer",
|
187 |
description="Upload a .vox file to view the 3D voxelized model.",
|
188 |
-
examples=[
|
|
|
|
|
|
|
|
|
|
|
189 |
)
|
190 |
|
191 |
if __name__ == "__main__":
|
|
|
185 |
outputs=gr.Plot(label="3D Voxel Model"), # Remove the type parameter
|
186 |
title="Voxel Model Viewer",
|
187 |
description="Upload a .vox file to view the 3D voxelized model.",
|
188 |
+
examples=[
|
189 |
+
["examples/modelo_optimizado.vox"],
|
190 |
+
["examples/Poster.vox"],
|
191 |
+
["examples/Horse.vox"]
|
192 |
+
],
|
193 |
+
cache_examples=True # Enable caching to ensure examples work properly
|
194 |
)
|
195 |
|
196 |
if __name__ == "__main__":
|