cfahlgren1 HF Staff commited on
Commit
75d796d
·
verified ·
1 Parent(s): 097323a

[dataset viewer]: add a mesh column so the 3d previews render

Browse files

Hi @prithivMLmods ! This adds a `mesh` column to `data/train-00000-of-00001.parquet` that points at each row's GLB, so the dataset page gets a 3D Assets gallery and every row an interactive 3D preview. The other columns, including `3d_glb`, are unchanged. Up to you whether you want it!

Preview: https://huggingface.co/datasets/cfahlgren1/OpenSCAD-Code-to-GLB

| Before | After |
|---|---|
| ![](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/gtqfNkfvOHNnKCVyMzLax.png) | ![](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/Gg1A0xupTLHy21ilCPZOO.png) |

Files changed (2) hide show
  1. README.md +2 -0
  2. data/train-00000-of-00001.parquet +2 -2
README.md CHANGED
@@ -7,6 +7,8 @@ dataset_info:
7
  dtype: string
8
  - name: 3d_glb
9
  dtype: string
 
 
10
  splits:
11
  - name: train
12
  num_bytes: 18539595
 
7
  dtype: string
8
  - name: 3d_glb
9
  dtype: string
10
+ - name: mesh
11
+ dtype: mesh
12
  splits:
13
  - name: train
14
  num_bytes: 18539595
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1610c92c0a75f4ed66d951ddff635a9805975205d2bf07333a2d77d43940307e
3
- size 6184192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8396b75dbc03e7efded24e1d81c76f683ecf1a9999446e3320441d0e254861a1
3
+ size 6269271