Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,6 @@ sh("pip install -e .")
|
|
22 |
sh("cd src/pixel3dmm/preprocessing/facer && pip install -e .")
|
23 |
sh("cd src/pixel3dmm/preprocessing/PIPNet/FaceBoxesV2/utils && sh make.sh")
|
24 |
|
25 |
-
from pixel3dmm import env_paths
|
26 |
|
27 |
def install_cuda_toolkit():
|
28 |
CUDA_TOOLKIT_URL = "https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run"
|
@@ -44,8 +43,6 @@ def install_cuda_toolkit():
|
|
44 |
|
45 |
install_cuda_toolkit()
|
46 |
|
47 |
-
from pixel3dmm.tracking import nvdiffrast_util
|
48 |
-
from pixel3dmm.tracking.renderer_nvdiffrast import NVDRenderer
|
49 |
|
50 |
# Utility to stitch frames into a video
|
51 |
def make_video_from_frames(frames_dir, out_path, fps=15):
|
|
|
22 |
sh("cd src/pixel3dmm/preprocessing/facer && pip install -e .")
|
23 |
sh("cd src/pixel3dmm/preprocessing/PIPNet/FaceBoxesV2/utils && sh make.sh")
|
24 |
|
|
|
25 |
|
26 |
def install_cuda_toolkit():
|
27 |
CUDA_TOOLKIT_URL = "https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run"
|
|
|
43 |
|
44 |
install_cuda_toolkit()
|
45 |
|
|
|
|
|
46 |
|
47 |
# Utility to stitch frames into a video
|
48 |
def make_video_from_frames(frames_dir, out_path, fps=15):
|