Update app.py
Browse files
app.py
CHANGED
@@ -2,11 +2,15 @@ import spaces
|
|
2 |
import os
|
3 |
import subprocess
|
4 |
import shlex
|
5 |
-
subprocess.run(
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
)
|
|
|
|
|
|
|
|
|
10 |
# target_path = "/root/.cache/torch_extensions/py310_cu121"
|
11 |
# --target {target_path}
|
12 |
# os.makedirs(target_path, exist_ok=False)
|
|
|
2 |
import os
|
3 |
import subprocess
|
4 |
import shlex
|
5 |
+
# subprocess.run(
|
6 |
+
# shlex.split(
|
7 |
+
# "pip install ./nvdiffrast-0.3.1+torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
8 |
+
# )
|
9 |
+
# )
|
10 |
+
subprocess.run([
|
11 |
+
"pip", "install", "--force-reinstall", "--no-deps",
|
12 |
+
"./nvdiffrast-0.3.1+torch-cp310-cp310-linux_x86_64.whl"
|
13 |
+
])
|
14 |
# target_path = "/root/.cache/torch_extensions/py310_cu121"
|
15 |
# --target {target_path}
|
16 |
# os.makedirs(target_path, exist_ok=False)
|