Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -387,7 +387,7 @@ def _transform_messages(original_messages):
|
|
387 |
return transformed_messages
|
388 |
|
389 |
from trellis.models.sparse_structure_vqvae import VQVAE3D
|
390 |
-
device = torch.device("
|
391 |
vqvae = VQVAE3D(num_embeddings=8192)
|
392 |
vqvae.eval()
|
393 |
filepath = hf_hub_download(repo_id="yejunliang23/3DVQVAE",filename="3DVQVAE.bin")
|
|
|
387 |
return transformed_messages
|
388 |
|
389 |
from trellis.models.sparse_structure_vqvae import VQVAE3D
|
390 |
+
device = torch.device("cuda")
|
391 |
vqvae = VQVAE3D(num_embeddings=8192)
|
392 |
vqvae.eval()
|
393 |
filepath = hf_hub_download(repo_id="yejunliang23/3DVQVAE",filename="3DVQVAE.bin")
|