Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,11 @@ subprocess.run(
|
|
7 |
"pip install ./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
8 |
)
|
9 |
)
|
|
|
|
|
10 |
subprocess.run(
|
11 |
shlex.split(
|
12 |
-
"pip install ./renderutils_plugin-1.0-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
13 |
)
|
14 |
)
|
15 |
# os.environ["CXX"] = os.popen("which g++").read().strip()
|
|
|
7 |
"pip install ./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
8 |
)
|
9 |
)
|
10 |
+
target_path = "/root/.cache/torch_extensions/py310_cu121"
|
11 |
+
os.makedirs(target_path, exist_ok=False)
|
12 |
subprocess.run(
|
13 |
shlex.split(
|
14 |
+
"pip install ./renderutils_plugin-1.0-cp310-cp310-linux_x86_64.whl --target {target_path} --force-reinstall --no-deps"
|
15 |
)
|
16 |
)
|
17 |
# os.environ["CXX"] = os.popen("which g++").read().strip()
|