ironjr commited on
Commit
8f49745
1 Parent(s): b210110

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -42,11 +42,13 @@ if not os.path.exists(d):
42
  try:
43
  import simple_knn
44
  except ModuleNotFoundError:
45
- subprocess.run(shlex.split('python setup.py install'), cwd=os.path.join(root, 'submodules', 'simple-knn'))
 
46
  try:
47
  import depth_diff_gaussian_rasterization_min
48
  except ModuleNotFoundError:
49
- subprocess.run(shlex.split('python setup.py install'), cwd=os.path.join(root, 'submodules', 'depth-diff-gaussian-rasterization-min'))
 
50
 
51
  from luciddreamer import LucidDreamer
52
 
 
42
  try:
43
  import simple_knn
44
  except ModuleNotFoundError:
45
+ # subprocess.run(shlex.split('python setup.py install'), cwd=os.path.join(root, 'submodules', 'simple-knn'))
46
+ subprocess.run(shlex.split(f'pip install {root}/dist/simple_knn-0.0.0-cp311-cp311-linux_x86_64.whl'))
47
  try:
48
  import depth_diff_gaussian_rasterization_min
49
  except ModuleNotFoundError:
50
+ # subprocess.run(shlex.split('python setup.py install'), cwd=os.path.join(root, 'submodules', 'depth-diff-gaussian-rasterization-min'))
51
+ subprocess.run(shlex.split(f'pip install {root}/dist/depth_diff_gaussian_rasterization_min-0.0.0-cp311-cp311-linux_x86_64.whl'))
52
 
53
  from luciddreamer import LucidDreamer
54