Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,6 @@ from mvadapter.utils import get_orthogonal_camera, make_image_grid, tensor_to_im
|
|
23 |
|
24 |
# install others
|
25 |
subprocess.run("pip install spandrel==0.4.1 --no-deps", shell=True, check=True)
|
26 |
-
subprocess.run("mkdir -p /tmp/extensions", shell=True, check=True)
|
27 |
-
subprocess.run("git clone https://github.com/NVlabs/nvdiffrast.git /tmp/extensions/nvdiffrast", shell=True, check=True)
|
28 |
-
subprocess.run("pip install /tmp/extensions/nvdiffrast", shell=True, check=True)
|
29 |
|
30 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
31 |
DTYPE = torch.float16
|
|
|
23 |
|
24 |
# install others
|
25 |
subprocess.run("pip install spandrel==0.4.1 --no-deps", shell=True, check=True)
|
|
|
|
|
|
|
26 |
|
27 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
28 |
DTYPE = torch.float16
|