Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- app.py +8 -0
- requirements.txt +2 -3
app.py
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import torch
|
3 |
import trimesh
|
4 |
import datetime
|
|
|
1 |
|
2 |
+
try:
|
3 |
+
from dotenv import load_dotenv
|
4 |
+
except ImportError:
|
5 |
+
os.system("pip install -e .")
|
6 |
+
from dotenv import load dotenv
|
7 |
+
os.system('pip install -e third_party/voxelize/.')
|
8 |
+
os.system('pip install -e .')
|
9 |
+
|
10 |
import torch
|
11 |
import trimesh
|
12 |
import datetime
|
requirements.txt
CHANGED
@@ -8,10 +8,9 @@ numpy
|
|
8 |
transformers==4.40.2
|
9 |
diffusers
|
10 |
triton==3.1.0
|
11 |
-
flash-attn
|
12 |
pymeshfix
|
13 |
git+https://github.com/EasternJournalist/utils3d.git#egg=utils3d
|
14 |
pyvista
|
15 |
igraph
|
16 |
-
git+https://github.com/mit-han-lab/torchsparse.git
|
17 |
-
third_party/voxelize/
|
|
|
8 |
transformers==4.40.2
|
9 |
diffusers
|
10 |
triton==3.1.0
|
11 |
+
flash-attn --no-build-isolation
|
12 |
pymeshfix
|
13 |
git+https://github.com/EasternJournalist/utils3d.git#egg=utils3d
|
14 |
pyvista
|
15 |
igraph
|
16 |
+
git+https://github.com/mit-han-lab/torchsparse.git
|
|