Miguelpef commited on
Commit
cdc95ff
·
verified ·
1 Parent(s): 920969c

Upload viewer.py

Browse files
Files changed (1) hide show
  1. viewer.py +6 -1
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=[["examples/modelo_optimizado.vox"], ["examples/Poster.vox"], ["examples/Horse.vox"]]
 
 
 
 
 
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__":