LTT commited on
Commit
3c58c73
·
verified ·
1 Parent(s): 66260b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -2,15 +2,15 @@ import spaces
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)
 
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)