ReubenSun commited on
Commit
7c75e1c
·
1 Parent(s): d7d8e3d
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,9 +3,9 @@ import shlex
3
  import spaces
4
  import subprocess
5
 
6
- print("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && bash compile_mesh_painter.sh")
7
- os.system("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && bash compile_mesh_painter.sh")
8
- print('install custom')
9
  subprocess.run(shlex.split("pip install custom_rasterizer-0.1-cp310-cp310-linux_x86_64.whl"), check=True)
10
  import time
11
  import uuid
 
3
  import spaces
4
  import subprocess
5
 
6
+ print("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && python setup.py install")
7
+ os.system("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && python setup.py install")
8
+
9
  subprocess.run(shlex.split("pip install custom_rasterizer-0.1-cp310-cp310-linux_x86_64.whl"), check=True)
10
  import time
11
  import uuid